| 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 3ffefeacba0a853ae2383d9ddb3c8c2b6c80dfcc..f4096b8507eee865a3fc8a3a50ea3ec802d64bb6 100644
|
| --- a/remoting/host/policy_hack/policy_watcher_linux.cc
|
| +++ b/remoting/host/policy_hack/policy_watcher_linux.cc
|
| @@ -244,11 +244,10 @@
|
| base::WeakPtrFactory<PolicyWatcherLinux> weak_factory_;
|
| };
|
|
|
| -scoped_ptr<PolicyWatcher> PolicyWatcher::Create(
|
| - policy::PolicyService* policy_service,
|
| +PolicyWatcher* PolicyWatcher::Create(
|
| scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
|
| base::FilePath policy_dir(kPolicyDir);
|
| - return make_scoped_ptr(new PolicyWatcherLinux(task_runner, policy_dir));
|
| + return new PolicyWatcherLinux(task_runner, policy_dir);
|
| }
|
|
|
| } // namespace policy_hack
|
|
|