renaming setJavaClassName to setPluginStubJavaClassName
Change-Id: I1a962ed93e27615611a248b8791d3392ba36df1e
This commit is contained in:
@@ -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
|
// notify the plugin API of the location of the java interface
|
||||||
char* className = "com.android.sampleplugin.SamplePluginStub";
|
char* className = "com.android.sampleplugin.SamplePluginStub";
|
||||||
NPError npErr = browser->setvalue(instance, kSetJavaClassName_ANPSetValue,
|
NPError npErr = browser->setvalue(instance, kSetPluginStubJavaClassName_ANPSetValue,
|
||||||
reinterpret_cast<void*>(className));
|
reinterpret_cast<void*>(className));
|
||||||
if (npErr) {
|
if (npErr) {
|
||||||
gLogI.log(instance, kError_ANPLogType, "set class err %d", npErr);
|
gLogI.log(instance, kError_ANPLogType, "set class err %d", npErr);
|
||||||
return npErr;
|
return npErr;
|
||||||
|
|||||||
Reference in New Issue
Block a user