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

Unified Diff: third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h

Issue 1364063007: Throttle rendering pipeline for invisible frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Early-out for intersection update walk. Created 5 years, 2 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: third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h
diff --git a/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h b/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h
index c1cd46b03bae25a3b6c59725a12e7f34b7cd46cb..f853f238e436ccbdaf723f0c58df823a60dd8845 100644
--- a/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h
+++ b/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h
@@ -63,7 +63,7 @@ protected:
// Expose some document lifecycle steps for checking new display items before commiting.
void updateLifecyclePhasesToPaintClean(const LayoutRect& interestRect = LayoutRect(LayoutRect::infiniteIntRect()))
{
- document().view()->updateLifecyclePhasesInternal(FrameView::OnlyUpToCompositingCleanPlusScrolling, nullptr);
+ document().view()->updateLifecyclePhasesInternal(FrameView::OnlyUpToCompositingCleanPlusScrolling, DocumentLifecycle::ThrottlingMode::Disallow, nullptr);
esprehn 2015/10/14 22:09:46 ditto
Sami 2015/10/16 16:48:09 Done.
document().view()->invalidateTreeIfNeededRecursive();
document().view()->updatePaintProperties();
document().view()->synchronizedPaint(&interestRect);

Powered by Google App Engine
This is Rietveld 408576698