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

Unified Diff: cc/input/top_controls_manager_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
« no previous file with comments | « cc/input/top_controls_manager.cc ('k') | cc/layers/draw_properties.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/top_controls_manager_unittest.cc
diff --git a/cc/input/top_controls_manager_unittest.cc b/cc/input/top_controls_manager_unittest.cc
index b2ee9bf47270b57fe40c15b050bb817208f2f604..60ea43b9e19a232e39c4aae6c2e37fd3b198453b 100644
--- a/cc/input/top_controls_manager_unittest.cc
+++ b/cc/input/top_controls_manager_unittest.cc
@@ -6,9 +6,9 @@
#include <algorithm>
#include <cmath>
+#include <memory>
#include "base/logging.h"
-#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "cc/input/top_controls_manager_client.h"
#include "cc/layers/layer_impl.h"
@@ -87,9 +87,9 @@ class MockTopControlsManagerClient : public TopControlsManagerClient {
TestSharedBitmapManager shared_bitmap_manager_;
TestTaskGraphRunner task_graph_runner_;
FakeLayerTreeHostImpl host_impl_;
- scoped_ptr<LayerTreeImpl> active_tree_;
- scoped_ptr<LayerImpl> root_scroll_layer_;
- scoped_ptr<TopControlsManager> manager_;
+ std::unique_ptr<LayerTreeImpl> active_tree_;
+ std::unique_ptr<LayerImpl> root_scroll_layer_;
+ std::unique_ptr<TopControlsManager> manager_;
bool redraw_needed_;
bool update_draw_properties_needed_;
« no previous file with comments | « cc/input/top_controls_manager.cc ('k') | cc/layers/draw_properties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698