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

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

Issue 10968015: Revert 157773 - This is followup from Charlie's comments on Fady's cl: http://chromiumcodereview.ap… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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_impl.cc
===================================================================
--- content/browser/renderer_host/render_widget_host_impl.cc (revision 157800)
+++ content/browser/renderer_host/render_widget_host_impl.cc (working copy)
@@ -235,12 +235,6 @@
process_->SurfaceUpdated(surface_id_);
}
-void RenderWidgetHostImpl::ResetSizeAndRepaintPendingFlags() {
- resize_ack_pending_ = false;
- repaint_ack_pending_ = false;
- in_flight_size_.SetSize(0, 0);
-}
-
void RenderWidgetHostImpl::Init() {
DCHECK(process_->HasConnection());
@@ -1117,7 +1111,10 @@
suppress_next_char_events_ = false;
// Reset some fields in preparation for recovering from a crash.
- ResetSizeAndRepaintPendingFlags();
+ resize_ack_pending_ = false;
+ repaint_ack_pending_ = false;
+
+ in_flight_size_.SetSize(0, 0);
current_size_.SetSize(0, 0);
is_hidden_ = false;
is_accelerated_compositing_active_ = false;
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.h ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698