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

Unified Diff: cc/test/layer_tree_host_common_test.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/test/layer_test_common.cc ('k') | cc/test/layer_tree_json_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_host_common_test.h
diff --git a/cc/test/layer_tree_host_common_test.h b/cc/test/layer_tree_host_common_test.h
index ee08639bf347e691deda019992bbb4acdf6398a9..e4be078acb9a8edefd90a0d70766b0faba15cb48 100644
--- a/cc/test/layer_tree_host_common_test.h
+++ b/cc/test/layer_tree_host_common_test.h
@@ -6,9 +6,9 @@
#define CC_TEST_LAYER_TREE_HOST_COMMON_TEST_H_
#include <algorithm>
+#include <memory>
#include <vector>
-#include "base/memory/scoped_ptr.h"
#include "cc/layers/layer_collections.h"
#include "cc/test/fake_layer_tree_host_client.h"
#include "cc/test/layer_test_common.h"
@@ -143,9 +143,9 @@ class LayerTreeHostCommonTestBase : public LayerTestCommon::LayerImplTest {
}
private:
- scoped_ptr<std::vector<LayerImpl*>> render_surface_layer_list_impl_;
+ std::unique_ptr<std::vector<LayerImpl*>> render_surface_layer_list_impl_;
LayerList update_layer_list_;
- scoped_ptr<LayerImplList> update_layer_list_impl_;
+ std::unique_ptr<LayerImplList> update_layer_list_impl_;
int render_surface_layer_list_count_;
};
« no previous file with comments | « cc/test/layer_test_common.cc ('k') | cc/test/layer_tree_json_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698