Index: remoting/host/policy_hack/policy_watcher_win.cc |
diff --git a/remoting/host/policy_hack/policy_watcher_win.cc b/remoting/host/policy_hack/policy_watcher_win.cc |
index cea8516b92e88a105aa6069d8ea9a88d1d829a18..6b18c93011de37445cd7a2557426d07400ce257f 100644 |
--- a/remoting/host/policy_hack/policy_watcher_win.cc |
+++ b/remoting/host/policy_hack/policy_watcher_win.cc |
@@ -216,9 +216,10 @@ class PolicyWatcherWin : |
bool machine_policy_watcher_failed_; |
}; |
-PolicyWatcher* PolicyWatcher::Create( |
+scoped_ptr<PolicyWatcher> PolicyWatcher::Create( |
+ policy::PolicyService* policy_service, |
scoped_refptr<base::SingleThreadTaskRunner> task_runner) { |
- return new PolicyWatcherWin(task_runner); |
+ return make_scoped_ptr(new PolicyWatcherWin(task_runner)); |
} |
} // namespace policy_hack |