diff options
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/service_process_util_mac.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/service_process_util_mac.mm b/chrome/common/service_process_util_mac.mm index 7ea7926..4100bcb 100644 --- a/chrome/common/service_process_util_mac.mm +++ b/chrome/common/service_process_util_mac.mm @@ -319,13 +319,13 @@ bool ServiceProcessState::StateData::WatchExecutable() { } FilePath executable_path = FilePath([exe_path fileSystemRepresentation]); - scoped_ptr<ExecFilePathWatcherDelegate> delegate( + scoped_refptr<ExecFilePathWatcherDelegate> delegate( new ExecFilePathWatcherDelegate); if (!delegate->Init(executable_path)) { DLOG(ERROR) << "executable_watcher_.Init " << executable_path.value(); return false; } - if (!executable_watcher_.Watch(executable_path, delegate.release())) { + if (!executable_watcher_.Watch(executable_path, delegate)) { DLOG(ERROR) << "executable_watcher_.watch " << executable_path.value(); return false; } |