Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(393)

Unified Diff: trunk/src/webkit/plugins/ppapi/ppapi_webplugin_impl.cc

Issue 15757007: Revert 202364 "Track NPObject ownership by the originating plugi..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/webkit/plugins/ppapi/ppapi_webplugin_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/webkit/plugins/ppapi/ppapi_webplugin_impl.cc
===================================================================
--- trunk/src/webkit/plugins/ppapi/ppapi_webplugin_impl.cc (revision 202368)
+++ trunk/src/webkit/plugins/ppapi/ppapi_webplugin_impl.cc (working copy)
@@ -93,9 +93,6 @@
if (!instance_)
return false;
- // Enable script objects for this plugin.
- container->allowScriptObjects();
-
bool success = instance_->Initialize(init_data_->arg_names,
init_data_->arg_values,
full_frame_);
@@ -119,9 +116,6 @@
}
void WebPluginImpl::destroy() {
- // Tell |container_| to clear references to this plugin's script objects.
- container_->clearScriptObjects();
-
if (instance_) {
::ppapi::PpapiGlobals::Get()->GetVarTracker()->ReleaseVar(instance_object_);
instance_object_ = PP_MakeUndefined();
@@ -154,10 +148,6 @@
return message_channel_np_object;
}
-NPP WebPluginImpl::pluginNPP() {
- return instance_->instanceNPP();
-}
-
bool WebPluginImpl::getFormValue(WebString& value) {
return false;
}
« no previous file with comments | « trunk/src/webkit/plugins/ppapi/ppapi_webplugin_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698