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

Unified Diff: content/browser/browser_context.cc

Issue 2111353002: Move content's shell connections to the IO thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 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_context.cc
diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc
index a1c1d0acdfc24b70a7ddeb5ac27cd5edbf63339c..47bc07ccadd700d9280ee3c716386a475b070cc3 100644
--- a/content/browser/browser_context.cc
+++ b/content/browser/browser_context.cc
@@ -152,7 +152,9 @@ class BrowserContextShellConnectionHolder
std::unique_ptr<shell::Connection> connection,
shell::mojom::ShellClientRequest request)
: root_connection_(std::move(connection)),
- shell_connection_(MojoShellConnection::Create(std::move(request))) {}
+ shell_connection_(MojoShellConnection::Create(
+ std::move(request),
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO))) {}
~BrowserContextShellConnectionHolder() override {}
MojoShellConnection* shell_connection() { return shell_connection_.get(); }

Powered by Google App Engine
This is Rietveld 408576698