| Index: remoting/host/policy_hack/policy_watcher_linux.cc
|
| diff --git a/remoting/host/policy_hack/policy_watcher_linux.cc b/remoting/host/policy_hack/policy_watcher_linux.cc
|
| index d67b49bf6096c52cbaabba860f6d6e8c8b86fcce..15f09f4f7c961a16d225822de072304a3da19045 100644
|
| --- a/remoting/host/policy_hack/policy_watcher_linux.cc
|
| +++ b/remoting/host/policy_hack/policy_watcher_linux.cc
|
| @@ -244,10 +244,11 @@ class PolicyWatcherLinux : public PolicyWatcher {
|
| base::WeakPtrFactory<PolicyWatcherLinux> weak_factory_;
|
| };
|
|
|
| -PolicyWatcher* PolicyWatcher::Create(
|
| +scoped_ptr<PolicyWatcher> PolicyWatcher::Create(
|
| + policy::PolicyService* policy_service,
|
| scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
|
| base::FilePath policy_dir(kPolicyDir);
|
| - return new PolicyWatcherLinux(task_runner, policy_dir);
|
| + return make_scoped_ptr(new PolicyWatcherLinux(task_runner, policy_dir));
|
| }
|
|
|
| } // namespace policy_hack
|
|
|