| 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 f01a2e75e141b978c5d83a2f8d135a895ba2ba98..d2b4aea12c1ce841e450851bae6de18038fd301f 100644
|
| --- a/content/browser/renderer_host/render_widget_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_impl.cc
|
| @@ -183,7 +183,6 @@ RenderWidgetHostImpl::RenderWidgetHostImpl(RenderWidgetHostDelegate* delegate,
|
| is_unresponsive_(false),
|
| in_flight_event_count_(0),
|
| in_get_backing_store_(false),
|
| - abort_get_backing_store_(false),
|
| view_being_painted_(false),
|
| ignore_input_events_(false),
|
| input_method_active_(false),
|
| @@ -467,7 +466,6 @@ bool RenderWidgetHostImpl::OnMessageReceived(const IPC::Message &msg) {
|
| msg_is_ok = OnSwapCompositorFrame(msg))
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_DidStopFlinging, OnFlingingStopped)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateRect, OnUpdateRect)
|
| - IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateIsDelayed, OnUpdateIsDelayed)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_Focus, OnFocus)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_Blur, OnBlur)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_SetCursor, OnSetCursor)
|
| @@ -828,10 +826,8 @@ void RenderWidgetHostImpl::WaitForSurface() {
|
|
|
| // Break now if we got a backing store or accelerated surface of the
|
| // correct size.
|
| - if (view_->HasAcceleratedSurface(view_size) || abort_get_backing_store_) {
|
| - abort_get_backing_store_ = false;
|
| + if (view_->HasAcceleratedSurface(view_size))
|
| return;
|
| - }
|
| } else {
|
| TRACE_EVENT0("renderer_host", "WaitForSurface::Timeout");
|
| break;
|
| @@ -1574,11 +1570,6 @@ void RenderWidgetHostImpl::OnUpdateRect(
|
| UMA_HISTOGRAM_TIMES("MPArch.RWH_OnMsgUpdateRect", delta);
|
| }
|
|
|
| -void RenderWidgetHostImpl::OnUpdateIsDelayed() {
|
| - if (in_get_backing_store_)
|
| - abort_get_backing_store_ = true;
|
| -}
|
| -
|
| void RenderWidgetHostImpl::DidUpdateBackingStore(
|
| const ViewHostMsg_UpdateRect_Params& params,
|
| const TimeTicks& paint_start) {
|
|
|