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

Unified Diff: Source/core/svg/SVGElement.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/SVGElement.h ('k') | Source/core/svg/SVGElementRareData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGElement.cpp
diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp
index c3e1e220fba2765be4ffafe1048dde5d442b76da..6dcba9d30584eb31629ea592ae8ac32a4a767f77 100644
--- a/Source/core/svg/SVGElement.cpp
+++ b/Source/core/svg/SVGElement.cpp
@@ -442,7 +442,7 @@ SVGSVGElement* SVGElement::ownerSVGElement() const
n = n->parentOrShadowHostNode();
}
- return 0;
+ return nullptr;
}
SVGElement* SVGElement::viewportElement() const
@@ -457,7 +457,7 @@ SVGElement* SVGElement::viewportElement() const
n = n->parentOrShadowHostNode();
}
- return 0;
+ return nullptr;
}
SVGDocumentExtensions& SVGElement::accessDocumentSVGExtensions()
@@ -563,7 +563,7 @@ SVGUseElement* SVGElement::correspondingUseElement() const
if (isSVGUseElement(root->host()) && (root->type() == ShadowRoot::UserAgentShadowRoot))
return toSVGUseElement(root->host());
}
- return 0;
+ return nullptr;
}
void SVGElement::setCorrespondingElement(SVGElement* correspondingElement)
@@ -843,7 +843,7 @@ void SVGElement::svgLoadEventTimerFired(Timer<SVGElement>*)
Timer<SVGElement>* SVGElement::svgLoadEventTimer()
{
ASSERT_NOT_REACHED();
- return 0;
+ return nullptr;
}
void SVGElement::attributeChanged(const QualifiedName& name, const AtomicString& newValue, AttributeModificationReason)
@@ -924,7 +924,7 @@ MutableStylePropertySet* SVGElement::animatedSMILStyleProperties() const
{
if (hasSVGRareData())
return svgRareData()->animatedSMILStyleProperties();
- return 0;
+ return nullptr;
}
MutableStylePropertySet* SVGElement::ensureAnimatedSMILStyleProperties()
@@ -1116,7 +1116,7 @@ bool SVGElement::isAnimatableAttribute(const QualifiedName& name) const
SVGElementSet* SVGElement::setOfIncomingReferences() const
{
if (!hasSVGRareData())
- return 0;
+ return nullptr;
return &svgRareData()->incomingReferences();
}
« no previous file with comments | « Source/core/svg/SVGElement.h ('k') | Source/core/svg/SVGElementRareData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698