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

Unified Diff: Source/core/svg/SVGTextContentElement.cpp

Issue 1127773003: This CL clean up patch in SVGElements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/core/svg/SVGPathElement.h ('k') | Source/core/svg/SVGTextPositioningElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGTextContentElement.cpp
diff --git a/Source/core/svg/SVGTextContentElement.cpp b/Source/core/svg/SVGTextContentElement.cpp
index 3937d9e35d855be8a690c590f6096b4bdff01e32..898941057b8cca044d5ebf8ebdffa656d0a51cca 100644
--- a/Source/core/svg/SVGTextContentElement.cpp
+++ b/Source/core/svg/SVGTextContentElement.cpp
@@ -254,10 +254,10 @@ bool SVGTextContentElement::selfHasRelativeLengths() const
SVGTextContentElement* SVGTextContentElement::elementFromRenderer(LayoutObject* layoutObject)
{
if (!layoutObject)
- return 0;
+ return nullptr;
if (!layoutObject->isSVGText() && !layoutObject->isSVGInline())
- return 0;
+ return nullptr;
SVGElement* element = toSVGElement(layoutObject->node());
ASSERT(element);
« no previous file with comments | « Source/core/svg/SVGPathElement.h ('k') | Source/core/svg/SVGTextPositioningElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698