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

Unified Diff: chrome/browser/child_process_launcher.cc

Issue 5734002: Continuation of CL 5685007, rename the singleton accessor method in more files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 10 years 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: chrome/browser/child_process_launcher.cc
diff --git a/chrome/browser/child_process_launcher.cc b/chrome/browser/child_process_launcher.cc
index 2586826acf8125ac4d8f6e9ddb8b4778f688e818..a4a610af8deb65ea628208c7922c0ccc57b8b016 100644
--- a/chrome/browser/child_process_launcher.cc
+++ b/chrome/browser/child_process_launcher.cc
@@ -173,7 +173,7 @@ class ChildProcessLauncher::Context
// notification will be processed by the MachBroker after the call to
// AddPlaceholderForPid(), enabling proper cleanup.
{ // begin scope for AutoLock
- MachBroker* broker = MachBroker::instance();
+ MachBroker* broker = MachBroker::GetInstance();
AutoLock lock(broker->GetLock());
// This call to |PrepareForFork()| will start the MachBroker listener

Powered by Google App Engine
This is Rietveld 408576698