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

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

Issue 1246173002: Throttle rendering pipeline for invisible iframes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Keep animation time consistent. 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/DisplayItemListPaintTest.cpp
diff --git a/Source/core/paint/DisplayItemListPaintTest.cpp b/Source/core/paint/DisplayItemListPaintTest.cpp
index f9fed44c8dc0e8f30525dcc4d6b8d718d643e2db..64c211dec71f378983a40d8813ababfd54259fa1 100644
--- a/Source/core/paint/DisplayItemListPaintTest.cpp
+++ b/Source/core/paint/DisplayItemListPaintTest.cpp
@@ -70,7 +70,7 @@ protected:
// Expose some document lifecycle steps for checking new display items before commiting.
void updateLifecyclePhasesToPaintForSlimmingPaintV2Clean()
{
- document().view()->updateLifecyclePhasesInternal(FrameView::OnlyUpToCompositingCleanPlusScrolling);
+ document().view()->updateLifecyclePhasesInternal(FrameView::OnlyUpToCompositingCleanPlusScrolling, DocumentLifecycle::ThrottlingMode::Disallow);
document().view()->invalidateTreeIfNeededRecursive();
document().view()->paintForSlimmingPaintV2();
}

Powered by Google App Engine
This is Rietveld 408576698