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

Unified Diff: src/trusted/plugin/ppapi/plugin_ppapi.cc

Issue 7292002: Remove plugin connection to PPAPI scriptable objects (var deprecated). Also (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 5 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 | « SConstruct ('k') | src/trusted/plugin/ppapi/scriptable_handle_ppapi.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/plugin/ppapi/plugin_ppapi.cc
===================================================================
--- src/trusted/plugin/ppapi/plugin_ppapi.cc (revision 6005)
+++ src/trusted/plugin/ppapi/plugin_ppapi.cc (working copy)
@@ -879,15 +879,6 @@
ppapi_proxy_ = ppapi_proxy.release();
-// TODO(dmichael): Remove the scripting proxy code entirely.
-#ifndef PPAPI_INSTANCE_REMOVE_SCRIPTING
- ScriptableHandlePpapi* handle =
- static_cast<ScriptableHandlePpapi*>(scriptable_handle());
- PP_Var scriptable_proxy =
- instance_interface->GetInstanceObject(pp_instance());
- handle->set_scriptable_proxy(pp::Var(pp::Var::PassRef(), scriptable_proxy));
-#endif
-
// Create PPP* interface adapters to forward calls to .nexe.
find_adapter_.reset(new(std::nothrow) FindAdapter(this));
printing_adapter_.reset(new(std::nothrow) PrintingAdapter(this));
« no previous file with comments | « SConstruct ('k') | src/trusted/plugin/ppapi/scriptable_handle_ppapi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698