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

Unified Diff: components/mus/ws/window_server_delegate.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/window_server.cc ('k') | components/mus/ws/window_server_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_server_delegate.h
diff --git a/components/mus/ws/window_server_delegate.h b/components/mus/ws/window_server_delegate.h
index 9ccc561c8e4a01f66189efbcb73bdfddc4b0df3a..62a8db4b07a71c0e35d90d6cd44bc764e52a3555 100644
--- a/components/mus/ws/window_server_delegate.h
+++ b/components/mus/ws/window_server_delegate.h
@@ -7,9 +7,9 @@
#include <stdint.h>
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "components/mus/common/types.h"
#include "components/mus/public/interfaces/window_tree.mojom.h"
#include "mojo/public/cpp/bindings/interface_request.h"
@@ -50,7 +50,7 @@ class WindowServerDelegate {
// Creates a WindowTreeBinding. Default implementation returns null, which
// creates DefaultBinding.
- virtual scoped_ptr<WindowTreeBinding> CreateWindowTreeBinding(
+ virtual std::unique_ptr<WindowTreeBinding> CreateWindowTreeBinding(
BindingType type,
ws::WindowServer* window_server,
ws::WindowTree* tree,
« no previous file with comments | « components/mus/ws/window_server.cc ('k') | components/mus/ws/window_server_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698