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 e0540017123d77acb24a7e675abe5d4137b8b1be..73b2f53a664fee462f113484f00994365e6c9de6 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -552,6 +552,8 @@ bool RenderWidgetHostImpl::OnMessageReceived(const IPC::Message &msg) { |
IPC_MESSAGE_HANDLER(ViewHostMsg_SetTooltipText, OnSetTooltipText) |
IPC_MESSAGE_HANDLER_GENERIC(ViewHostMsg_SwapCompositorFrame, |
OnSwapCompositorFrame(msg)) |
+ IPC_MESSAGE_HANDLER(ViewHostMsg_BeginFrameDidNotSwap, |
+ OnBeginFrameDidNotSwap) |
IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateRect, OnUpdateRect) |
IPC_MESSAGE_HANDLER(ViewHostMsg_SetCursor, OnSetCursor) |
IPC_MESSAGE_HANDLER(ViewHostMsg_TextInputStateChanged, |
@@ -1858,6 +1860,12 @@ bool RenderWidgetHostImpl::OnSwapCompositorFrame( |
return true; |
} |
+void RenderWidgetHostImpl::OnBeginFrameDidNotSwap( |
+ const cc::BeginFrameAck& ack) { |
+ if (view_) |
+ view_->OnBeginFrameDidNotSwap(ack); |
+} |
+ |
void RenderWidgetHostImpl::OnUpdateRect( |
const ViewHostMsg_UpdateRect_Params& params) { |
TRACE_EVENT0("renderer_host", "RenderWidgetHostImpl::OnUpdateRect"); |