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

Unified Diff: Source/core/animation/Animation.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/animation/AnimatableNeutral.h ('k') | Source/core/animation/AnimationTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/Animation.cpp
diff --git a/Source/core/animation/Animation.cpp b/Source/core/animation/Animation.cpp
index 1d66d42faa37f649853b1e89e86728ab94d66d16..4ff368e64aae07a1ff0915c9609a3ea98f757d13 100644
--- a/Source/core/animation/Animation.cpp
+++ b/Source/core/animation/Animation.cpp
@@ -68,7 +68,7 @@ PassRefPtr<Animation> Animation::create(Element* element, Vector<Dictionary> key
// FIXME: This test will not be neccessary once resolution of keyframe values occurs at
// animation application time.
if (!checkDocumentAndRenderer(element))
- return 0;
+ return nullptr;
return createUnsafe(element, keyframeDictionaryVector, timingInput);
}
@@ -80,7 +80,7 @@ PassRefPtr<Animation> Animation::create(Element* element, Vector<Dictionary> key
// FIXME: This test will not be neccessary once resolution of keyframe values occurs at
// animation application time.
if (!checkDocumentAndRenderer(element))
- return 0;
+ return nullptr;
return createUnsafe(element, keyframeDictionaryVector, timingInput);
}
@@ -92,7 +92,7 @@ PassRefPtr<Animation> Animation::create(Element* element, Vector<Dictionary> key
// FIXME: This test will not be neccessary once resolution of keyframe values occurs at
// animation application time.
if (!checkDocumentAndRenderer(element))
- return 0;
+ return nullptr;
return createUnsafe(element, keyframeDictionaryVector);
}
« no previous file with comments | « Source/core/animation/AnimatableNeutral.h ('k') | Source/core/animation/AnimationTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698