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

Unified Diff: Source/core/svg/properties/SVGAnimatedListPropertyTearOff.h

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
Index: Source/core/svg/properties/SVGAnimatedListPropertyTearOff.h
diff --git a/Source/core/svg/properties/SVGAnimatedListPropertyTearOff.h b/Source/core/svg/properties/SVGAnimatedListPropertyTearOff.h
index bebcc5a720201613cbc549a67afc0557e65774b3..fb92ffd35f6b4bee6b4c738b01c319ea0e23d824 100644
--- a/Source/core/svg/properties/SVGAnimatedListPropertyTearOff.h
+++ b/Source/core/svg/properties/SVGAnimatedListPropertyTearOff.h
@@ -104,7 +104,7 @@ public:
// Switch to new passed in value type & new wrappers list. The new wrappers list must be created for the new value.
if (!newAnimVal->isEmpty())
- m_animatedWrappers.fill(0, newAnimVal->size());
+ m_animatedWrappers.fill(nullptr, newAnimVal->size());
ListProperty* animVal = static_cast<ListProperty*>(this->animVal());
animVal->setValuesAndWrappers(newAnimVal, &m_animatedWrappers, shouldOwnValues);
@@ -174,7 +174,7 @@ protected:
, m_values(values)
{
if (!values.isEmpty())
- m_wrappers.fill(0, values.size());
+ m_wrappers.fill(nullptr, values.size());
}
PropertyType& m_values;
« no previous file with comments | « Source/core/svg/properties/NewSVGListPropertyTearOffHelper.h ('k') | Source/core/svg/properties/SVGListProperty.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698