| Index: chrome/common/service_process_util_mac.mm
|
| diff --git a/chrome/common/service_process_util_mac.mm b/chrome/common/service_process_util_mac.mm
|
| index 7ea79261c0df8acc4d95d5dc9047c9a13764aed3..4100bcb0671fd2b635a3fb57edcb32b23bf5c237 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;
|
| }
|
|
|