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

Unified Diff: ui/views/mus/window_manager_connection.cc

Issue 1455833005: Convert ConnectToApplication to take a params class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 1 month 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 | « sql/mojo/vfs_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/window_manager_connection.cc
diff --git a/ui/views/mus/window_manager_connection.cc b/ui/views/mus/window_manager_connection.cc
index 65e2804cf8abd962fcd8a00a8afaf444098d4e12..3c068b81a0567c056f7315a180a008f002c6919d 100644
--- a/ui/views/mus/window_manager_connection.cc
+++ b/ui/views/mus/window_manager_connection.cc
@@ -121,8 +121,7 @@ mus::Window* WindowManagerConnection::NewWindow(
WindowManagerConnection::WindowManagerConnection(mojo::ApplicationImpl* app)
: app_(app) {
- app->ConnectToService(mojo::URLRequest::From(std::string("mojo:mus")),
- &window_manager_);
+ app->ConnectToService("mojo:mus", &window_manager_);
ui_init_.reset(new ui::mojo::UIInit(
GetDisplaysFromWindowManager(&window_manager_)));
« no previous file with comments | « sql/mojo/vfs_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698