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

Unified Diff: Source/core/animation/DocumentTimelineTest.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/CompositorAnimationsTest.cpp ('k') | Source/core/animation/KeyframeEffectModel.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/DocumentTimelineTest.cpp
diff --git a/Source/core/animation/DocumentTimelineTest.cpp b/Source/core/animation/DocumentTimelineTest.cpp
index 4dd27f5f69bf5ceb5cb2a0eba7766999bd264500..f2c53ad5105f9cb7d4dcd6b768d8bf110b6b40de 100644
--- a/Source/core/animation/DocumentTimelineTest.cpp
+++ b/Source/core/animation/DocumentTimelineTest.cpp
@@ -252,7 +252,7 @@ TEST_F(AnimationDocumentTimelineTest, DelayBeforeAnimationStart)
timing.iterationDuration = 2;
timing.startDelay = 5;
- RefPtr<Animation> anim = Animation::create(element.get(), 0, timing);
+ RefPtr<Animation> anim = Animation::create(element.get(), nullptr, timing);
timeline->play(anim.get());
@@ -276,10 +276,10 @@ TEST_F(AnimationDocumentTimelineTest, PlayAfterDocumentDeref)
timing.startDelay = 5;
timeline = document->timeline();
- element = 0;
- document = 0;
+ element = nullptr;
+ document = nullptr;
- RefPtr<Animation> anim = Animation::create(0, 0, timing);
+ RefPtr<Animation> anim = Animation::create(nullptr, nullptr, timing);
// Test passes if this does not crash.
timeline->play(anim.get());
}
« no previous file with comments | « Source/core/animation/CompositorAnimationsTest.cpp ('k') | Source/core/animation/KeyframeEffectModel.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698