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

Unified Diff: third_party/WebKit/Source/core/svg/SVGTSpanElement.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
Index: third_party/WebKit/Source/core/svg/SVGTSpanElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGTSpanElement.cpp b/third_party/WebKit/Source/core/svg/SVGTSpanElement.cpp
index b85387284071315bbb2688fd78d0d6e2b9499cb5..2957ba5acbd979b6790cf3aaf070d054ddbe6f49 100644
--- a/third_party/WebKit/Source/core/svg/SVGTSpanElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGTSpanElement.cpp
@@ -38,7 +38,7 @@ bool SVGTSpanElement::layoutObjectIsNeeded(const ComputedStyle& style) {
if (parentNode() &&
(isSVGAElement(*parentNode()) || isSVGTextElement(*parentNode()) ||
isSVGTextPathElement(*parentNode()) || isSVGTSpanElement(*parentNode())))
- return Element::layoutObjectIsNeeded(style);
+ return SVGElement::layoutObjectIsNeeded(style);
return false;
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGSVGElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698