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

Unified Diff: Source/core/paint/DeprecatedPaintLayerPainterTest.cpp

Issue 1246173002: Throttle rendering pipeline for invisible iframes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add layout tests. Created 5 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: Source/core/paint/DeprecatedPaintLayerPainterTest.cpp
diff --git a/Source/core/paint/DeprecatedPaintLayerPainterTest.cpp b/Source/core/paint/DeprecatedPaintLayerPainterTest.cpp
index 51256d7f281c7dc6c0295b591913cc9b839abd69..ca61bf3d33156760d844df8562d0b36c68b2eb09 100644
--- a/Source/core/paint/DeprecatedPaintLayerPainterTest.cpp
+++ b/Source/core/paint/DeprecatedPaintLayerPainterTest.cpp
@@ -120,7 +120,7 @@ TEST_F(DeprecatedPaintLayerPainterTestForSlimmingPaintV2, CachedSubsequenceOnInt
LayoutObject& container3 = *document().getElementById("container3")->layoutObject();
DeprecatedPaintLayer& container3Layer = *toLayoutBoxModelObject(container3).layer();
- document().view()->updateAllLifecyclePhases(LayoutRect(0, 0, 400, 300));
+ document().view()->updateAllLifecyclePhases(DocumentLifecycle::ThrottlingMode::Disallow, LayoutRect(0, 0, 400, 300));
// 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