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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp

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/PaintLayerPainterTest.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp b/third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp
index 95ee586de1dac1c3b0046d753362d206b215a5de..fa986646caa7796e3ee148ef556c5c495abcca6d 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp
@@ -449,7 +449,7 @@ TEST_F(PaintLayerPainterTestForSlimmingPaintV2, CachedSubsequenceOnInterestRectC
LayoutObject& content3 = *document().getElementById("content3")->layoutObject();
LayoutRect interestRect(0, 0, 400, 300);
- document().view()->updateAllLifecyclePhases(&interestRect);
+ document().view()->updateAllLifecyclePhases(DocumentLifecycle::ThrottlingMode::Disallow, &interestRect);
// Container1 is fully in the interest rect;
// Container2 is partly (including its stacking chidren) in the interest rect;

Powered by Google App Engine
This is Rietveld 408576698