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

Unified Diff: third_party/WebKit/Source/core/animation/AnimationTimeline.cpp

Issue 1663963004: Blink Compositor Animation: Use PassOwnPtr in CompositorFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@curves
Patch Set: Created 4 years, 11 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: third_party/WebKit/Source/core/animation/AnimationTimeline.cpp
diff --git a/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp b/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp
index 74ab5662243682a2243e34d6e0d8715f0529ff1f..c32a629bbb9745c20eb9df38f5c8799c22be4e59 100644
--- a/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp
+++ b/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp
@@ -80,7 +80,7 @@ AnimationTimeline::AnimationTimeline(Document* document, PlatformTiming* timing)
m_timing = timing;
if (RuntimeEnabledFeatures::compositorAnimationTimelinesEnabled() && Platform::current()->isThreadedAnimationEnabled())
- m_compositorTimeline = adoptPtr(CompositorFactory::current().createAnimationTimeline());
+ m_compositorTimeline = CompositorFactory::current().createAnimationTimeline();
ASSERT(document);
}

Powered by Google App Engine
This is Rietveld 408576698