Index: trunk/src/webkit/plugins/ppapi/plugin_object.cc |
=================================================================== |
--- trunk/src/webkit/plugins/ppapi/plugin_object.cc (revision 202368) |
+++ trunk/src/webkit/plugins/ppapi/plugin_object.cc (working copy) |
@@ -298,8 +298,7 @@ |
// WrapperClass_Allocated function which will have created an object wrapper |
// appropriate for this class (derived from NPObject). |
NPObjectWrapper* wrapper = static_cast<NPObjectWrapper*>( |
- WebBindings::createObject(instance->instanceNPP(), |
- const_cast<NPClass*>(&wrapper_class))); |
+ WebBindings::createObject(NULL, const_cast<NPClass*>(&wrapper_class))); |
// This object will register itself both with the NPObject and with the |
// PluginModule. The NPObject will normally handle its lifetime, and it |