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

Unified Diff: content/browser/child_process_launcher.cc

Issue 2774163002: android: Java ChildProcessLauncherHelper instance (Closed)
Patch Set: explicit AddRef Created 3 years, 9 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/child_process_launcher.cc
diff --git a/content/browser/child_process_launcher.cc b/content/browser/child_process_launcher.cc
index 60b0766834bb73f5e63bd2d4a5fbf21881e93f4a..03375d59760bd5a2ab3bc4b07566222cbe85dfb8 100644
--- a/content/browser/child_process_launcher.cc
+++ b/content/browser/child_process_launcher.cc
@@ -66,8 +66,7 @@ void ChildProcessLauncher::SetProcessBackgrounded(bool background) {
BrowserThread::PROCESS_LAUNCHER, FROM_HERE,
base::Bind(
&ChildProcessLauncherHelper::SetProcessBackgroundedOnLauncherThread,
- base::Passed(&to_pass),
- background));
+ helper_, base::Passed(&to_pass), background));
}
void ChildProcessLauncher::Notify(
@@ -121,8 +120,8 @@ base::TerminationStatus ChildProcessLauncher::GetChildTerminationStatus(
return termination_status_;
}
- termination_status_ = ChildProcessLauncherHelper::GetTerminationStatus(
- process_, known_dead, &exit_code_);
+ termination_status_ =
+ helper_->GetTerminationStatus(process_, known_dead, &exit_code_);
if (exit_code)
*exit_code = exit_code_;

Powered by Google App Engine
This is Rietveld 408576698