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

Unified Diff: Source/core/svg/animation/SVGSMILElement.cpp

Issue 170603003: Use nullptr_t for RefPtr, PassRefPtr and RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final rebase Created 6 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 | « Source/core/svg/SVGViewSpec.cpp ('k') | Source/core/svg/graphics/SVGImage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/animation/SVGSMILElement.cpp
diff --git a/Source/core/svg/animation/SVGSMILElement.cpp b/Source/core/svg/animation/SVGSMILElement.cpp
index a63f1d7fbe9260864f7a76d334c0d85ea6e5be39..1889b839eb0a8de942e00b107b2668699ebb3af1 100644
--- a/Source/core/svg/animation/SVGSMILElement.cpp
+++ b/Source/core/svg/animation/SVGSMILElement.cpp
@@ -333,7 +333,7 @@ void SVGSMILElement::removedFrom(ContainerNode* rootParent)
setTargetElement(0);
setAttributeName(anyQName());
animationAttributeChanged();
- m_timeContainer = 0;
+ m_timeContainer = nullptr;
}
SVGElement::removedFrom(rootParent);
@@ -588,7 +588,7 @@ void SVGSMILElement::connectSyncBaseConditions()
ASSERT(!condition.m_baseID.isEmpty());
condition.m_syncbase = treeScope().getElementById(AtomicString(condition.m_baseID));
if (!condition.m_syncbase || !isSVGSMILElement(*condition.m_syncbase)) {
- condition.m_syncbase = 0;
+ condition.m_syncbase = nullptr;
continue;
}
toSVGSMILElement(condition.m_syncbase.get())->addSyncBaseDependent(this);
@@ -606,7 +606,7 @@ void SVGSMILElement::disconnectSyncBaseConditions()
if (condition.m_type == Condition::Syncbase) {
if (condition.m_syncbase)
toSVGSMILElement(condition.m_syncbase.get())->removeSyncBaseDependent(this);
- condition.m_syncbase = 0;
+ condition.m_syncbase = nullptr;
}
}
}
@@ -649,7 +649,7 @@ void SVGSMILElement::disconnectEventBaseConditions()
if (eventBase)
eventBase->removeEventListener(AtomicString(condition.m_name), condition.m_eventListener.get(), false);
condition.m_eventListener->disconnectAnimation();
- condition.m_eventListener = 0;
+ condition.m_eventListener = nullptr;
}
}
}
« no previous file with comments | « Source/core/svg/SVGViewSpec.cpp ('k') | Source/core/svg/graphics/SVGImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698