renaming setJavaClassName to setPluginStubJavaClassName

Change-Id: I1a962ed93e27615611a248b8791d3392ba36df1e
This commit is contained in:
Derek Sollenberger
2009-09-21 09:15:38 -04:00
parent bcdcd9d4d5
commit 4a9200d094

View File

@@ -174,8 +174,8 @@ NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc,
// notify the plugin API of the location of the java interface
char* className = "com.android.sampleplugin.SamplePluginStub";
NPError npErr = browser->setvalue(instance, kSetJavaClassName_ANPSetValue,
reinterpret_cast<void*>(className));
NPError npErr = browser->setvalue(instance, kSetPluginStubJavaClassName_ANPSetValue,
reinterpret_cast<void*>(className));
if (npErr) {
gLogI.log(instance, kError_ANPLogType, "set class err %d", npErr);
return npErr;