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

Unified Diff: cc/input/scrollbar_animation_controller_linear_fade.h

Issue 1866203004: Convert //cc from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptrcc: rebase 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 | « cc/input/scroll_state_unittest.cc ('k') | cc/input/scrollbar_animation_controller_linear_fade.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/scrollbar_animation_controller_linear_fade.h
diff --git a/cc/input/scrollbar_animation_controller_linear_fade.h b/cc/input/scrollbar_animation_controller_linear_fade.h
index 356c2cd5df7ac187433d44af2043787ca9e6b3c4..f5993e7149a6148adb9ed3087b01623580cea948 100644
--- a/cc/input/scrollbar_animation_controller_linear_fade.h
+++ b/cc/input/scrollbar_animation_controller_linear_fade.h
@@ -5,8 +5,9 @@
#ifndef CC_INPUT_SCROLLBAR_ANIMATION_CONTROLLER_LINEAR_FADE_H_
#define CC_INPUT_SCROLLBAR_ANIMATION_CONTROLLER_LINEAR_FADE_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "cc/base/cc_export.h"
#include "cc/input/scrollbar_animation_controller.h"
@@ -16,7 +17,7 @@ class LayerImpl;
class CC_EXPORT ScrollbarAnimationControllerLinearFade
: public ScrollbarAnimationController {
public:
- static scoped_ptr<ScrollbarAnimationControllerLinearFade> Create(
+ static std::unique_ptr<ScrollbarAnimationControllerLinearFade> Create(
int scroll_layer_id,
ScrollbarAnimationControllerClient* client,
base::TimeDelta delay_before_starting,
« no previous file with comments | « cc/input/scroll_state_unittest.cc ('k') | cc/input/scrollbar_animation_controller_linear_fade.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698