summaryrefslogtreecommitdiffstats
path: root/WebCore
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2009-09-21 09:13:10 -0400
committerDerek Sollenberger <djsollen@google.com>2009-09-21 10:54:50 -0400
commit19d8bd10cbc60aee378a8762c27b264a4813445b (patch)
tree7f415c798ddb6d04e3a038135c2d58551e2df9d0 /WebCore
parent0a7f28613ad5aaf5cfda9454b2dc4c95cf53c3d0 (diff)
downloadexternal_webkit-19d8bd10cbc60aee378a8762c27b264a4813445b.zip
external_webkit-19d8bd10cbc60aee378a8762c27b264a4813445b.tar.gz
external_webkit-19d8bd10cbc60aee378a8762c27b264a4813445b.tar.bz2
renaming setJavaClass_ANPSetValue and ensuring memory is freed on subsequent calls
Change-Id: I7881e711af7ec905e5c120e8e2fd4b0b7ba5e840
Diffstat (limited to 'WebCore')
-rw-r--r--WebCore/plugins/android/PluginViewAndroid.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/plugins/android/PluginViewAndroid.cpp b/WebCore/plugins/android/PluginViewAndroid.cpp
index 1815a9e..d98ccef 100644
--- a/WebCore/plugins/android/PluginViewAndroid.cpp
+++ b/WebCore/plugins/android/PluginViewAndroid.cpp
@@ -482,9 +482,9 @@ NPError PluginView::platformSetValue(NPPVariable variable, void* value)
NPError error = NPERR_GENERIC_ERROR;
switch (variable) {
- case kSetJavaClassName_ANPSetValue: {
+ case kSetPluginStubJavaClassName_ANPSetValue: {
char* className = reinterpret_cast<char*>(value);
- if (m_window->setJavaClassName(className))
+ if (m_window->setPluginStubJavaClassName(className))
error = NPERR_NO_ERROR;
break;
}