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

Unified Diff: content/browser/browser_main_loop.cc

Issue 1899323002: Add mash shelf application id support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address simpler comments. 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: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index 1f77258d8df738cac0a5efbef2df7b78dd3e1711..03ec04cb42fa721a025e817c1a76c876763bff1d 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -1171,9 +1171,11 @@ int BrowserMainLoop::BrowserThreadsStarted() {
MojoShellConnectionImpl::Get()->BindToRequestFromCommandLine();
}
#if defined(MOJO_SHELL_CLIENT) && defined(USE_AURA)
- if (MojoShellConnection::Get()) {
+ MojoShellConnection* mojo_shell_connection = MojoShellConnection::Get();
+ if (mojo_shell_connection) {
views::WindowManagerConnection::Create(
- MojoShellConnection::Get()->GetConnector());
+ mojo_shell_connection->GetConnector(),
+ mojo_shell_connection->GetIdentity());
}
#endif
}
« no previous file with comments | « components/mus/public/interfaces/window_manager.mojom ('k') | content/common/mojo/mojo_shell_connection_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698