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

Unified Diff: cc/input/scrollbar_animation_controller_linear_fade_unittest.cc

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
Index: cc/input/scrollbar_animation_controller_linear_fade_unittest.cc
diff --git a/cc/input/scrollbar_animation_controller_linear_fade_unittest.cc b/cc/input/scrollbar_animation_controller_linear_fade_unittest.cc
index 35eacb510276599d98cb79a6eb1deb2de4e471e1..7d7645b7ea9be926a4af290e7f52c3572db9cb57 100644
--- a/cc/input/scrollbar_animation_controller_linear_fade_unittest.cc
+++ b/cc/input/scrollbar_animation_controller_linear_fade_unittest.cc
@@ -49,7 +49,7 @@ class ScrollbarAnimationControllerLinearFadeTest
const bool kIsLeftSideVerticalScrollbar = false;
const bool kIsOverlayScrollbar = true; // Allow opacity animations.
- scoped_ptr<LayerImpl> scroll_layer =
+ std::unique_ptr<LayerImpl> scroll_layer =
LayerImpl::Create(host_impl_.active_tree(), 1);
scrollbar_layer_ = SolidColorScrollbarLayerImpl::Create(
host_impl_.active_tree(), 2, orientation(), kThumbThickness,
@@ -74,9 +74,9 @@ class ScrollbarAnimationControllerLinearFadeTest
TestSharedBitmapManager shared_bitmap_manager_;
TestTaskGraphRunner task_graph_runner_;
FakeLayerTreeHostImpl host_impl_;
- scoped_ptr<ScrollbarAnimationControllerLinearFade> scrollbar_controller_;
- scoped_ptr<LayerImpl> clip_layer_;
- scoped_ptr<SolidColorScrollbarLayerImpl> scrollbar_layer_;
+ std::unique_ptr<ScrollbarAnimationControllerLinearFade> scrollbar_controller_;
+ std::unique_ptr<LayerImpl> clip_layer_;
+ std::unique_ptr<SolidColorScrollbarLayerImpl> scrollbar_layer_;
base::Closure start_fade_;
base::TimeDelta delay_;
« no previous file with comments | « cc/input/scrollbar_animation_controller_linear_fade.cc ('k') | cc/input/scrollbar_animation_controller_thinning.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698