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

Unified Diff: content/browser/browser_main_loop.cc

Issue 1430673002: Headless demo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better javascript 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 | « content/browser/BUILD.gn ('k') | headless/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index 12903fac6a50f03005c82261335a1adc41aa3ae0..d3bc698729db30b2fd03a7f2b871ebf97ad72b3b 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -915,9 +915,11 @@ int BrowserMainLoop::PreMainMessageLoopRun() {
if (IsRunningInMojoShell()) {
MojoShellConnectionImpl::Create();
#if defined(USE_AURA)
+#if defined(TOOLKIT_VIEWS)
views::WindowManagerConnection::Create(
MojoShellConnection::Get()->GetApplication());
#endif
+#endif
}
#endif
« no previous file with comments | « content/browser/BUILD.gn ('k') | headless/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698