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

Unified Diff: mojo/service_manager/background_service_loader.cc

Issue 374723002: Mojo: Trivial style fixes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « no previous file | mojo/services/native_viewport/native_viewport_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/service_manager/background_service_loader.cc
diff --git a/mojo/service_manager/background_service_loader.cc b/mojo/service_manager/background_service_loader.cc
index 15e8c3241c54f5b3e6ae32a8030f8b5dd95a9a82..8c60a2cc00696df313e989933dcf63d6875d480f 100644
--- a/mojo/service_manager/background_service_loader.cc
+++ b/mojo/service_manager/background_service_loader.cc
@@ -56,9 +56,10 @@ void BackgroundServiceLoader::LoadService(
const GURL& url,
ScopedMessagePipeHandle shell_handle) {
const int kDefaultStackSize = 0;
- if (!thread_.IsRunning())
+ if (!thread_.IsRunning()) {
thread_.StartWithOptions(
base::Thread::Options(message_loop_type_, kDefaultStackSize));
+ }
thread_.message_loop()->PostTask(
FROM_HERE,
base::Bind(&BackgroundServiceLoader::LoadServiceOnBackgroundThread,
« no previous file with comments | « no previous file | mojo/services/native_viewport/native_viewport_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698