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

Unified Diff: Source/core/svg/SVGTransformList.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/SVGTransform.cpp ('k') | Source/core/svg/SVGTransformListTearOff.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGTransformList.cpp
diff --git a/Source/core/svg/SVGTransformList.cpp b/Source/core/svg/SVGTransformList.cpp
index 4fb46f70340f24a11a944dbba79cdab5a9a0f8d9..90029880fc109afe10e1f39d2ba598df1ae53959 100644
--- a/Source/core/svg/SVGTransformList.cpp
+++ b/Source/core/svg/SVGTransformList.cpp
@@ -122,12 +122,12 @@ template<typename CharType>
PassRefPtr<SVGTransform> parseTransformOfType(unsigned type, const CharType*& ptr, const CharType* end)
{
if (type == SVG_TRANSFORM_UNKNOWN)
- return 0;
+ return nullptr;
int valueCount = 0;
float values[] = {0, 0, 0, 0, 0, 0};
if ((valueCount = parseTransformParamList(ptr, end, values, requiredValuesForType[type], optionalValuesForType[type])) < 0) {
- return 0;
+ return nullptr;
}
RefPtr<SVGTransform> transform = SVGTransform::create();
@@ -259,7 +259,7 @@ void SVGTransformList::setValueAsString(const String& value, ExceptionState& exc
PassRefPtr<NewSVGPropertyBase> SVGTransformList::cloneForAnimation(const String& value) const
{
ASSERT_NOT_REACHED();
- return 0;
+ return nullptr;
}
PassRefPtr<SVGTransformList> SVGTransformList::create(SVGTransformType transformType, const String& value)
« no previous file with comments | « Source/core/svg/SVGTransform.cpp ('k') | Source/core/svg/SVGTransformListTearOff.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698