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

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

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge. Created 4 years, 6 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 63f297868cdc2116b77cebb02db80403be0ed847..b218ec9934636c5f9ca7b628d2f8c334d13bc2de 100644
--- a/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp
+++ b/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp
@@ -42,6 +42,7 @@
#include "platform/graphics/CompositorFactory.h"
#include "public/platform/Platform.h"
#include "public/platform/WebCompositorSupport.h"
+#include "wtf/PtrUtil.h"
#include <algorithm>
namespace blink {
@@ -80,7 +81,7 @@ AnimationTimeline::AnimationTimeline(Document* document, PlatformTiming* timing)
m_timing = timing;
if (Platform::current()->isThreadedAnimationEnabled())
- m_compositorTimeline = adoptPtr(CompositorFactory::current().createAnimationTimeline());
+ m_compositorTimeline = wrapUnique(CompositorFactory::current().createAnimationTimeline());
ASSERT(document);
}

Powered by Google App Engine
This is Rietveld 408576698