Index: content/browser/renderer_host/render_message_filter.cc |
diff --git a/content/browser/renderer_host/render_message_filter.cc b/content/browser/renderer_host/render_message_filter.cc |
index e686ce842e051a3d84e2e82f2b1252a48de978ff..a47d71aa9ce8d41184545f82b4fa011d800b2864 100644 |
--- a/content/browser/renderer_host/render_message_filter.cc |
+++ b/content/browser/renderer_host/render_message_filter.cc |
@@ -435,7 +435,6 @@ bool RenderMessageFilter::OnMessageReceived(const IPC::Message& message, |
#endif |
IPC_MESSAGE_HANDLER_GENERIC(ViewHostMsg_UpdateRect, |
render_widget_helper_->DidReceiveBackingStoreMsg(message)) |
- IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateIsDelayed, OnUpdateIsDelayed) |
IPC_MESSAGE_HANDLER(DesktopNotificationHostMsg_CheckPermission, |
OnCheckNotificationPermission) |
IPC_MESSAGE_HANDLER(ChildProcessHostMsg_SyncAllocateSharedMemory, |
@@ -1138,19 +1137,6 @@ void RenderMessageFilter::OnCompletedOpenChannelToNpapiPlugin( |
plugin_host_clients_.erase(client); |
} |
-void RenderMessageFilter::OnUpdateIsDelayed(const IPC::Message& msg) { |
- // When not in accelerated compositing mode, in certain cases (e.g. waiting |
- // for a resize or if no backing store) the RenderWidgetHost is blocking the |
- // UI thread for some time, waiting for an UpdateRect from the renderer. If we |
- // are going to switch to accelerated compositing, the GPU process may need |
- // round-trips to the UI thread before finishing the frame, causing deadlocks |
- // if we delay the UpdateRect until we receive the OnSwapBuffersComplete. So |
- // the renderer sent us this message, so that we can unblock the UI thread. |
- // We will simply re-use the UpdateRect unblock mechanism, just with a |
- // different message. |
- render_widget_helper_->DidReceiveBackingStoreMsg(msg); |
-} |
- |
void RenderMessageFilter::OnAre3DAPIsBlocked(int render_view_id, |
const GURL& top_origin_url, |
ThreeDAPIType requester, |