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

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

Issue 1246173002: Throttle rendering pipeline for invisible iframes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased to post merge awesomeness. 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: third_party/WebKit/Source/core/paint/DeprecatedPaintLayerPainterTest.cpp
diff --git a/third_party/WebKit/Source/core/paint/DeprecatedPaintLayerPainterTest.cpp b/third_party/WebKit/Source/core/paint/DeprecatedPaintLayerPainterTest.cpp
index 63d65e37bb6ca7fd6e40b200e1164f134f051f56..544010dfdb3b1c1c51ebf82ea176eaaf778d44e6 100644
--- a/third_party/WebKit/Source/core/paint/DeprecatedPaintLayerPainterTest.cpp
+++ b/third_party/WebKit/Source/core/paint/DeprecatedPaintLayerPainterTest.cpp
@@ -301,7 +301,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