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

Unified Diff: ui/compositor/layer_threaded_animation_delegate.h

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr Created 4 years, 8 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 | « ui/compositor/layer_owner_unittest.cc ('k') | ui/compositor/layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer_threaded_animation_delegate.h
diff --git a/ui/compositor/layer_threaded_animation_delegate.h b/ui/compositor/layer_threaded_animation_delegate.h
index b921077e4434c22532c22c93c22832021624e336..4fcf7f332ecf7750b3f039f46cc68e28ed9433db 100644
--- a/ui/compositor/layer_threaded_animation_delegate.h
+++ b/ui/compositor/layer_threaded_animation_delegate.h
@@ -5,7 +5,8 @@
#ifndef UI_COMPOSITOR_LAYER_THREADED_ANIMATION_DELEGATE_H_
#define UI_COMPOSITOR_LAYER_THREADED_ANIMATION_DELEGATE_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "cc/animation/animation.h"
#include "ui/compositor/compositor_export.h"
@@ -14,7 +15,8 @@ namespace ui {
// Attach CC animations using this interface.
class COMPOSITOR_EXPORT LayerThreadedAnimationDelegate {
public:
- virtual void AddThreadedAnimation(scoped_ptr<cc::Animation> animation) = 0;
+ virtual void AddThreadedAnimation(
+ std::unique_ptr<cc::Animation> animation) = 0;
virtual void RemoveThreadedAnimation(int animation_id) = 0;
protected:
« no previous file with comments | « ui/compositor/layer_owner_unittest.cc ('k') | ui/compositor/layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698