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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp

Issue 1552693002: Add paint testing mode subsequence_caching_disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@RemoveSyncPaint
Patch Set: Rebase on origin/master Created 4 years, 12 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/platform/graphics/GraphicsLayer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
index bbb2640ffc9a99251b33a9ec563f03d235bea0c1..472a452424e766d496aee384610057d6b9796362 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
@@ -333,7 +333,10 @@ bool GraphicsLayer::paintWithoutCommit(const IntRect* interestRect, GraphicsCont
}
if (RuntimeEnabledFeatures::slimmingPaintSynchronizedPaintingEnabled()
- && !m_client->needsRepaint() && !paintController().cacheIsEmpty() && m_previousInterestRect == *interestRect) {
+ && !paintController().subsequenceCachingIsDisabled()
+ && !m_client->needsRepaint()
+ && !paintController().cacheIsEmpty()
+ && m_previousInterestRect == *interestRect) {
ASSERT(!paintController().hasInvalidations());
return false;
}

Powered by Google App Engine
This is Rietveld 408576698