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