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

Unified Diff: components/mus/public/cpp/lib/window_tree_client_impl.cc

Issue 1882423004: Move shell service to toplevel shell namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: components/mus/public/cpp/lib/window_tree_client_impl.cc
diff --git a/components/mus/public/cpp/lib/window_tree_client_impl.cc b/components/mus/public/cpp/lib/window_tree_client_impl.cc
index 520b9de1b61bb99b48a998075fb82530e0b3a5bd..9b199da20cc8d1fb99f9ed7d151ce3152a046265 100644
--- a/components/mus/public/cpp/lib/window_tree_client_impl.cc
+++ b/components/mus/public/cpp/lib/window_tree_client_impl.cc
@@ -85,8 +85,9 @@ Window* BuildWindowTree(WindowTreeClientImpl* client,
return root;
}
-WindowTreeConnection* WindowTreeConnection::Create(WindowTreeDelegate* delegate,
- mojo::Connector* connector) {
+WindowTreeConnection* WindowTreeConnection::Create(
+ WindowTreeDelegate* delegate,
+ shell::Connector* connector) {
WindowTreeClientImpl* client =
new WindowTreeClientImpl(delegate, nullptr, nullptr);
client->ConnectViaWindowTreeFactory(connector);
@@ -164,7 +165,7 @@ WindowTreeClientImpl::~WindowTreeClientImpl() {
}
void WindowTreeClientImpl::ConnectViaWindowTreeFactory(
- mojo::Connector* connector) {
+ shell::Connector* connector) {
// Clients created with no root shouldn't delete automatically.
delete_on_no_roots_ = false;
« no previous file with comments | « components/mus/public/cpp/lib/window_tree_client_impl.h ('k') | components/mus/public/cpp/lib/window_tree_host_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698