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

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

Issue 2000763003: Check subtree paint invalidation when overflow clip status changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/LayoutSVGInline.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInline.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInline.cpp
index b36153698b96fbfde3fcff2541428f74de08e66e..ae87f0643ee27427cc3c2ce39cb393bc8e1fea19 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInline.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInline.cpp
@@ -143,19 +143,4 @@ void LayoutSVGInline::removeChild(LayoutObject* child)
LayoutInline::removeChild(child);
}
-void LayoutSVGInline::invalidateTreeIfNeeded(const PaintInvalidationState& paintInvalidationState)
chrishtr 2016/05/23 20:10:32 This looks different than LayoutBoxModelObject::in
Xianzhu 2016/05/23 21:35:49 I noticed this but thought LayoutBoxModelObject::i
-{
- ASSERT(!needsLayout());
-
- if (!shouldCheckForPaintInvalidation(paintInvalidationState))
- return;
-
- PaintInvalidationState newPaintInvalidationState(paintInvalidationState, *this);
- PaintInvalidationReason reason = invalidatePaintIfNeeded(newPaintInvalidationState);
- clearPaintInvalidationFlags(newPaintInvalidationState);
-
- newPaintInvalidationState.updateForChildren(reason);
- invalidatePaintOfSubtreesIfNeeded(newPaintInvalidationState);
-}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698