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)); |