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

Unified Diff: ui/views/animation/ink_drop_animation_controller_factory.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
Index: ui/views/animation/ink_drop_animation_controller_factory.h
diff --git a/ui/views/animation/ink_drop_animation_controller_factory.h b/ui/views/animation/ink_drop_animation_controller_factory.h
index 839631460f713440026dc5012f2d08d6bb891526..dd883598edeb6e624d7fc8feb01b8d5c905719b6 100644
--- a/ui/views/animation/ink_drop_animation_controller_factory.h
+++ b/ui/views/animation/ink_drop_animation_controller_factory.h
@@ -5,8 +5,9 @@
#ifndef UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_CONTROLLER_FACTORY_H_
#define UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_CONTROLLER_FACTORY_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/views/views_export.h"
namespace views {
@@ -21,7 +22,7 @@ class VIEWS_EXPORT InkDropAnimationControllerFactory {
// Creates a new InkDropAnimationController that will add/remove an
// InkDropAnimation's ui::Layer to/from the |ink_drop_host| when the animation
// is active/inactive.
- static scoped_ptr<InkDropAnimationController>
+ static std::unique_ptr<InkDropAnimationController>
CreateInkDropAnimationController(InkDropHost* ink_drop_host);
private:
« no previous file with comments | « ui/views/animation/ink_drop_animation_controller.h ('k') | ui/views/animation/ink_drop_animation_controller_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698