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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp

Issue 1774193002: New paint invalidation using paint property tree walk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/layout/svg/LayoutSVGInlineText.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp
index 7c8d826e75e5b4509eb08ece2204b9a2f15acaa0..e2f907764e3e41020fa1a3e9ed45ee2afb6661ba 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp
@@ -235,7 +235,8 @@ LayoutRect LayoutSVGInlineText::clippedOverflowRectForPaintInvalidation(const La
{
// FIXME: The following works because LayoutSVGBlock has forced slow rect mapping of the paintInvalidationState.
// Should let this really work with paintInvalidationState's fast mapping and remove the assert.
- ASSERT(!paintInvalidationState || !paintInvalidationState->canMapToContainer(paintInvalidationContainer));
+ // TODO(wangxianzhu): Check if we should re-enable or change this assert for slimmingPaintInvalidation.
+ ASSERT(RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled() || !paintInvalidationState || !paintInvalidationState->canMapToContainer(paintInvalidationContainer));
return parent()->clippedOverflowRectForPaintInvalidation(paintInvalidationContainer, paintInvalidationState);
}

Powered by Google App Engine
This is Rietveld 408576698