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

Unified Diff: Source/platform/graphics/paint/DrawingRecorder.cpp

Issue 1363613002: Save previous paint offset in LayoutObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/platform/graphics/paint/DrawingRecorder.cpp
diff --git a/Source/platform/graphics/paint/DrawingRecorder.cpp b/Source/platform/graphics/paint/DrawingRecorder.cpp
index 48c0d994bd87c022a52b948f4c038ecdac92326a..8c41bfbbe2728e2cc9987dc00e526b412259f235 100644
--- a/Source/platform/graphics/paint/DrawingRecorder.cpp
+++ b/Source/platform/graphics/paint/DrawingRecorder.cpp
@@ -51,7 +51,7 @@ DrawingRecorder::DrawingRecorder(GraphicsContext& context, const DisplayItemClie
return;
// Must check DrawingRecorder::useCachedDrawingIfPossible before creating the DrawingRecorder.
- ASSERT((RuntimeEnabledFeatures::slimmingPaintV2Enabled() && context.displayItemList()->paintOffsetWasInvalidated(displayItemClient.displayItemClient()))
+ ASSERT((RuntimeEnabledFeatures::slimmingPaintOffsetCachingEnabled() && context.displayItemList()->paintOffsetWasInvalidated(displayItemClient.displayItemClient()))
|| RuntimeEnabledFeatures::slimmingPaintUnderInvalidationCheckingEnabled()
|| !useCachedDrawingIfPossible(m_context, m_displayItemClient, m_displayItemType));

Powered by Google App Engine
This is Rietveld 408576698