Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(991)

Unified Diff: content/browser/renderer_host/render_widget_host.cc

Issue 7068029: Fix residue left over from find bar when using accelerated compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host.cc
diff --git a/content/browser/renderer_host/render_widget_host.cc b/content/browser/renderer_host/render_widget_host.cc
index cc1e9cf100101ae27f981bddc0b287cfbb9e2e3e..30ad1b023f4e88147ad8f657fd57f8feabb6121b 100644
--- a/content/browser/renderer_host/render_widget_host.cc
+++ b/content/browser/renderer_host/render_widget_host.cc
@@ -444,14 +444,6 @@ void RenderWidgetHost::ScheduleComposite() {
repaint_ack_pending_ = true;
Send(new ViewMsg_Repaint(routing_id_, current_size_));
}
-
- // When we have asked the RenderWidget to resize, and we are still waiting on
- // a response, block for a little while to see if we can't get a response.
- // We always block on response because we do not have a backing store.
- IPC::Message msg;
- TimeDelta max_delay = TimeDelta::FromMilliseconds(kPaintMsgTimeoutMS);
- if (process_->WaitForUpdateMsg(routing_id_, max_delay, &msg))
- OnMessageReceived(msg);
jbates 2011/05/27 17:11:41 This blocking wait did not seem to have any effect
darin (slow to review) 2011/05/27 17:53:08 won't this exacerbate the issue where the tab stri
jbates 2011/05/27 18:18:55 I think this code only subtly changes the behavior
}
void RenderWidgetHost::StartHangMonitorTimeout(TimeDelta delay) {

Powered by Google App Engine
This is Rietveld 408576698