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

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

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/DisplayItemListPaintTest.h
diff --git a/Source/core/paint/DisplayItemListPaintTest.h b/Source/core/paint/DisplayItemListPaintTest.h
index 2edcd5f98feb02b099e31d3fd1eb4552c101617f..f6a52c2c75ead3169898e092a67806988986bc96 100644
--- a/Source/core/paint/DisplayItemListPaintTest.h
+++ b/Source/core/paint/DisplayItemListPaintTest.h
@@ -44,7 +44,7 @@ protected:
// Expose some document lifecycle steps for checking new display items before commiting.
void updateLifecyclePhasesToPaintForSlimmingPaintV2Clean(const LayoutRect& interestRect = LayoutRect::infiniteRect())
{
- document().view()->updateLifecyclePhasesInternal(FrameView::OnlyUpToCompositingCleanPlusScrolling);
+ document().view()->updateLifecyclePhasesInternal(FrameView::OnlyUpToCompositingCleanPlusScrolling, DocumentLifecycle::ThrottlingMode::Disallow);
document().view()->invalidateTreeIfNeededRecursive();
document().view()->paintForSlimmingPaintV2(interestRect);
}

Powered by Google App Engine
This is Rietveld 408576698