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

Unified Diff: content/renderer/render_widget.cc

Issue 11776010: overscroll: Take a screenshot at more appropriate times. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 11 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
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.cc
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
index ff0cc11f13f6f501e3e816fee1b725fa9cf6dd18..3181bc8a0c20fa4cbdc63e5453b46841a34797c9 100644
--- a/content/renderer/render_widget.cc
+++ b/content/renderer/render_widget.cc
@@ -970,6 +970,9 @@ void RenderWidget::DoDeferredUpdate() {
return;
}
+ if (is_swapped_out_)
Charlie Reis 2013/01/09 00:49:23 Or just move this up into the is_hidden_ check abo
+ return;
+
if (is_accelerated_compositing_active_)
using_asynchronous_swapbuffers_ = SupportsAsynchronousSwapBuffers();
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698