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

Unified Diff: components/mus/ws/test_utils.h

Issue 1906623003: Convert //components/mus from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « components/mus/ws/server_window_surface_manager.cc ('k') | components/mus/ws/test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/test_utils.h
diff --git a/components/mus/ws/test_utils.h b/components/mus/ws/test_utils.h
index 9918185feb70b5eedb521c776d7495118501ebe1..c5c484f93e9b5fcb7d60d8f88c089420048c63bf 100644
--- a/components/mus/ws/test_utils.h
+++ b/components/mus/ws/test_utils.h
@@ -326,7 +326,7 @@ class TestWindowTreeBinding : public WindowTreeBinding {
WindowTree* tree_;
TestWindowTreeClient client_;
bool is_paused_ = false;
- scoped_ptr<TestWindowManager> window_manager_;
+ std::unique_ptr<TestWindowManager> window_manager_;
DISALLOW_COPY_AND_ASSIGN(TestWindowTreeBinding);
};
@@ -362,7 +362,7 @@ class TestWindowServerDelegate : public WindowServerDelegate {
// WindowServerDelegate:
void OnNoMoreDisplays() override;
- scoped_ptr<WindowTreeBinding> CreateWindowTreeBinding(
+ std::unique_ptr<WindowTreeBinding> CreateWindowTreeBinding(
BindingType type,
ws::WindowServer* window_server,
ws::WindowTree* tree,
« no previous file with comments | « components/mus/ws/server_window_surface_manager.cc ('k') | components/mus/ws/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698