Index: content/renderer/browser_plugin/browser_plugin_bindings.cc |
diff --git a/content/renderer/browser_plugin/browser_plugin_bindings.cc b/content/renderer/browser_plugin/browser_plugin_bindings.cc |
index 464ecf8f1bda94be8daad9e6385dcf9e7598d170..f7e66140c8f9c9911d0a764a56131d930ff3fb48 100644 |
--- a/content/renderer/browser_plugin/browser_plugin_bindings.cc |
+++ b/content/renderer/browser_plugin/browser_plugin_bindings.cc |
@@ -286,26 +286,6 @@ class BrowserPluginBindingAttachWindowTo : public BrowserPluginMethodBinding { |
// Note: This is a method that is used internally by the <webview> shim only. |
// This should not be exposed to developers. |
-class BrowserPluginBindingGetInstanceID : public BrowserPluginMethodBinding { |
- public: |
- BrowserPluginBindingGetInstanceID() |
- : BrowserPluginMethodBinding(browser_plugin::kMethodGetInstanceId, 0) { |
- } |
- |
- virtual bool Invoke(BrowserPluginBindings* bindings, |
- const NPVariant* args, |
- NPVariant* result) OVERRIDE { |
- int instance_id = bindings->instance()->instance_id(); |
- INT32_TO_NPVARIANT(instance_id, *result); |
- return true; |
- } |
- |
- private: |
- DISALLOW_COPY_AND_ASSIGN(BrowserPluginBindingGetInstanceID); |
-}; |
- |
-// Note: This is a method that is used internally by the <webview> shim only. |
-// This should not be exposed to developers. |
class BrowserPluginBindingGetGuestInstanceID : |
public BrowserPluginMethodBinding { |
public: |
@@ -731,7 +711,6 @@ BrowserPluginBindings::BrowserPluginBindings(BrowserPlugin* instance) |
method_bindings_.push_back(new BrowserPluginBindingAttach); |
method_bindings_.push_back(new BrowserPluginBindingAttachWindowTo); |
- method_bindings_.push_back(new BrowserPluginBindingGetInstanceID); |
method_bindings_.push_back(new BrowserPluginBindingGetGuestInstanceID); |
method_bindings_.push_back(new BrowserPluginBindingSetPermission); |
method_bindings_.push_back(new BrowserPluginBindingTrackObjectLifetime); |