Index: content/browser/renderer_host/render_widget_host_impl.cc |
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc |
index df2e948b3b5f88f012eba529579ded3e71a8c202..8529331bf3101307bfabfdfd606f9e5156d3f35e 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -481,7 +481,6 @@ bool RenderWidgetHostImpl::OnMessageReceived(const IPC::Message &msg) { |
OnUpdateScreenRectsAck) |
IPC_MESSAGE_HANDLER(ViewHostMsg_RequestMove, OnRequestMove) |
IPC_MESSAGE_HANDLER(ViewHostMsg_SetTooltipText, OnSetTooltipText) |
- IPC_MESSAGE_HANDLER(ViewHostMsg_PaintAtSize_ACK, OnPaintAtSizeAck) |
#if defined(OS_MACOSX) |
IPC_MESSAGE_HANDLER(ViewHostMsg_CompositorSurfaceBuffersSwapped, |
OnCompositorSurfaceBuffersSwapped) |
@@ -776,17 +775,6 @@ bool RenderWidgetHostImpl::CopyFromBackingStoreToCGContext( |
} |
#endif |
-void RenderWidgetHostImpl::PaintAtSize(TransportDIB::Handle dib_handle, |
- int tag, |
- const gfx::Size& page_size, |
- const gfx::Size& desired_size) { |
- // Ask the renderer to create a bitmap regardless of whether it's |
- // hidden, being resized, redrawn, etc. It resizes the web widget |
- // to the page_size and then scales it to the desired_size. |
- Send(new ViewMsg_PaintAtSize(routing_id_, dib_handle, tag, |
- page_size, desired_size)); |
-} |
- |
bool RenderWidgetHostImpl::TryGetBackingStore(const gfx::Size& desired_size, |
BackingStore** backing_store) { |
// Check if the view has an accelerated surface of the desired size. |
@@ -1486,14 +1474,6 @@ void RenderWidgetHostImpl::OnRequestMove(const gfx::Rect& pos) { |
} |
} |
-void RenderWidgetHostImpl::OnPaintAtSizeAck(int tag, const gfx::Size& size) { |
- std::pair<int, gfx::Size> details = std::make_pair(tag, size); |
- NotificationService::current()->Notify( |
- NOTIFICATION_RENDER_WIDGET_HOST_DID_RECEIVE_PAINT_AT_SIZE_ACK, |
- Source<RenderWidgetHost>(this), |
- Details<std::pair<int, gfx::Size> >(&details)); |
-} |
- |
#if defined(OS_MACOSX) |
void RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwapped( |
const ViewHostMsg_CompositorSurfaceBuffersSwapped_Params& params) { |