Index: content/renderer/browser_plugin/browser_plugin.cc |
diff --git a/content/renderer/browser_plugin/browser_plugin.cc b/content/renderer/browser_plugin/browser_plugin.cc |
index e6c1f5eb61b38155de77ff32797e7668683a21a0..2eca1da2c993cfb58cc0a9cf6b542fbf984c26ff 100644 |
--- a/content/renderer/browser_plugin/browser_plugin.cc |
+++ b/content/renderer/browser_plugin/browser_plugin.cc |
@@ -95,8 +95,6 @@ bool BrowserPlugin::OnMessageReceived(const IPC::Message& message) { |
IPC_MESSAGE_HANDLER(BrowserPluginMsg_AdvanceFocus, OnAdvanceFocus) |
IPC_MESSAGE_HANDLER_GENERIC(BrowserPluginMsg_CompositorFrameSwapped, |
OnCompositorFrameSwapped(message)) |
- IPC_MESSAGE_HANDLER(BrowserPluginMsg_CopyFromCompositingSurface, |
- OnCopyFromCompositingSurface) |
IPC_MESSAGE_HANDLER(BrowserPluginMsg_GuestGone, OnGuestGone) |
IPC_MESSAGE_HANDLER(BrowserPluginMsg_SetContentsOpaque, OnSetContentsOpaque) |
IPC_MESSAGE_HANDLER(BrowserPluginMsg_SetCursor, OnSetCursor) |
@@ -191,23 +189,6 @@ void BrowserPlugin::OnCompositorFrameSwapped(const IPC::Message& message) { |
param.b.shared_memory_handle); |
} |
-void BrowserPlugin::OnCopyFromCompositingSurface(int browser_plugin_instance_id, |
- int request_id, |
- gfx::Rect source_rect, |
- gfx::Size dest_size) { |
- if (!compositing_helper_.get()) { |
- browser_plugin_manager()->Send( |
- new BrowserPluginHostMsg_CopyFromCompositingSurfaceAck( |
- render_view_routing_id_, |
- browser_plugin_instance_id_, |
- request_id, |
- SkBitmap())); |
- return; |
- } |
- compositing_helper_->CopyFromCompositingSurface(request_id, source_rect, |
- dest_size); |
-} |
- |
void BrowserPlugin::OnGuestGone(int browser_plugin_instance_id) { |
guest_crashed_ = true; |
@@ -428,7 +409,6 @@ bool BrowserPlugin::ShouldForwardToBrowserPlugin( |
case BrowserPluginMsg_Attach_ACK::ID: |
case BrowserPluginMsg_AdvanceFocus::ID: |
case BrowserPluginMsg_CompositorFrameSwapped::ID: |
- case BrowserPluginMsg_CopyFromCompositingSurface::ID: |
case BrowserPluginMsg_GuestGone::ID: |
case BrowserPluginMsg_SetContentsOpaque::ID: |
case BrowserPluginMsg_SetCursor::ID: |