diff options
Diffstat (limited to 'chrome/browser/mac/dock.mm')
-rw-r--r-- | chrome/browser/mac/dock.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/mac/dock.mm b/chrome/browser/mac/dock.mm index 39c33b9..1256b17b 100644 --- a/chrome/browser/mac/dock.mm +++ b/chrome/browser/mac/dock.mm @@ -10,12 +10,12 @@ #include <signal.h> #include "base/logging.h" +#include "base/mac/launchd.h" #include "base/mac/mac_logging.h" #include "base/mac/mac_util.h" #include "base/mac/scoped_cftyperef.h" #include "base/mac/scoped_nsautorelease_pool.h" #include "base/sys_string_conversions.h" -#include "chrome/browser/mac/launchd.h" extern "C" { @@ -176,7 +176,7 @@ void Restart() { // Doing this via launchd using the proper job label is the safest way to // handle the restart. Unlike "killall Dock", looking this up via launchd // guarantees that only the right process will be targeted. - pid = launchd::PIDForJob("com.apple.Dock.agent"); + pid = base::mac::PIDForJob("com.apple.Dock.agent"); } else { // On Leopard, the Dock doesn't have a known fixed job label name as it // does on Snow Leopard and Lion because it's not launched as a launch |