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

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

Issue 1364063007: Throttle rendering pipeline for invisible frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IntersectionObserverification 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/DisplayItemListPaintTest.h
diff --git a/third_party/WebKit/Source/core/paint/DisplayItemListPaintTest.h b/third_party/WebKit/Source/core/paint/DisplayItemListPaintTest.h
index a1e835ac24602c71ca61d65e51737b2b02f31d4a..ebe6a83c1c18cbc7446edb48577f4f7f5e3b190a 100644
--- a/third_party/WebKit/Source/core/paint/DisplayItemListPaintTest.h
+++ b/third_party/WebKit/Source/core/paint/DisplayItemListPaintTest.h
@@ -63,7 +63,7 @@ protected:
// Expose some document lifecycle steps for checking new display items before commiting.
void updateLifecyclePhasesToPaintClean(const LayoutRect& interestRect = LayoutRect::infiniteRect())
{
- document().view()->updateLifecyclePhasesInternal(FrameView::OnlyUpToCompositingCleanPlusScrolling);
+ document().view()->updateLifecyclePhasesInternal(FrameView::OnlyUpToCompositingCleanPlusScrolling, DocumentLifecycle::ThrottlingMode::Disallow);
document().view()->invalidateTreeIfNeededRecursive();
document().view()->updatePaintProperties();
document().view()->synchronizedPaint(interestRect);

Powered by Google App Engine
This is Rietveld 408576698