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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGText.h

Issue 1856393002: Simplify layout attribute invalidation in LayoutSVGText (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits Created 4 years, 8 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/LayoutSVGText.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.h
index 043dfab6cce0108fc471d964b8010c4e45ec2e94..c3582a1fc86427b9792de8ee031412bb30cde54a 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.h
@@ -52,9 +52,9 @@ public:
bool needsReordering() const { return m_needsReordering; }
Vector<SVGTextLayoutAttributes*>& layoutAttributes() { return m_layoutAttributes; }
- void subtreeChildWasAdded(LayoutObject*);
- void subtreeChildWillBeRemoved(LayoutObject*);
- void subtreeTextDidChange(LayoutSVGInlineText*);
+ void subtreeChildWasAdded();
+ void subtreeChildWillBeRemoved();
+ void subtreeTextDidChange();
const AffineTransform& localToSVGParentTransform() const override { return m_localTransform; }
@@ -79,7 +79,7 @@ private:
RootInlineBox* createRootInlineBox() override;
- bool shouldHandleSubtreeMutations() const;
+ void invalidatePositioningValues(LayoutInvalidationReasonForTracing);
bool m_needsReordering : 1;
bool m_needsPositioningValuesUpdate : 1;

Powered by Google App Engine
This is Rietveld 408576698