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

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

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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 91925f5a1730bcf64db77e00301dbc0670eedeeb..560042ae44293360a1193240691dca6c0eaaafa4 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInline.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInline.cpp
@@ -131,7 +131,7 @@ void LayoutSVGInline::addChild(LayoutObject* child, LayoutObject* beforeChild)
SVGResourcesCache::clientWasAddedToTree(child, child->styleRef());
if (LayoutSVGText* textLayoutObject = LayoutSVGText::locateLayoutSVGTextAncestor(this))
- textLayoutObject->subtreeChildWasAdded(child);
+ textLayoutObject->subtreeChildWasAdded();
}
void LayoutSVGInline::removeChild(LayoutObject* child)
@@ -139,7 +139,7 @@ void LayoutSVGInline::removeChild(LayoutObject* child)
SVGResourcesCache::clientWillBeRemovedFromTree(child);
if (LayoutSVGText* textLayoutObject = LayoutSVGText::locateLayoutSVGTextAncestor(this))
- textLayoutObject->subtreeChildWillBeRemoved(child);
+ textLayoutObject->subtreeChildWillBeRemoved();
LayoutInline::removeChild(child);
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698