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

Unified Diff: third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp

Issue 2685113002: Cleanup SVGElement::layoutObjectIsNeeded. (Closed)
Patch Set: Preserving behavior Created 3 years, 10 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 | « third_party/WebKit/Source/core/svg/SVGTSpanElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp b/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
index c96236ea95041cdf6174d168dd67d981349aba4e..f4fa07b5e4ff2a000ddf298f43c3f6dd604410fe 100644
--- a/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
@@ -112,7 +112,7 @@ LayoutObject* SVGTextPathElement::createLayoutObject(const ComputedStyle&) {
bool SVGTextPathElement::layoutObjectIsNeeded(const ComputedStyle& style) {
if (parentNode() &&
(isSVGAElement(*parentNode()) || isSVGTextElement(*parentNode())))
- return Element::layoutObjectIsNeeded(style);
+ return SVGElement::layoutObjectIsNeeded(style);
return false;
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGTSpanElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698