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

Unified Diff: content/browser/browser_context.cc

Issue 2138263002: Revert of 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, 5 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
« no previous file with comments | « chrome/test/base/mash_browser_tests_main.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_context.cc
diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc
index 729df89e82c5aea8770db483dfdfbb6bdf806e55..3a8d0a4b99fa202ee540c392321326ecab2343b6 100644
--- a/content/browser/browser_context.cc
+++ b/content/browser/browser_context.cc
@@ -152,9 +152,7 @@
std::unique_ptr<shell::Connection> connection,
shell::mojom::ServiceRequest request)
: root_connection_(std::move(connection)),
- shell_connection_(MojoShellConnection::Create(
- std::move(request),
- BrowserThread::GetTaskRunnerForThread(BrowserThread::IO))) {}
+ shell_connection_(MojoShellConnection::Create(std::move(request))) {}
~BrowserContextShellConnectionHolder() override {}
MojoShellConnection* shell_connection() { return shell_connection_.get(); }
@@ -435,7 +433,6 @@
browser_context->SetUserData(kMojoShellConnection, connection_holder);
MojoShellConnection* connection = connection_holder->shell_connection();
- connection->Start();
// New embedded service factories should be added to |connection| here.
« no previous file with comments | « chrome/test/base/mash_browser_tests_main.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698