| Index: remoting/host/policy_hack/nat_policy_win.cc
|
| diff --git a/remoting/host/policy_hack/nat_policy_win.cc b/remoting/host/policy_hack/nat_policy_win.cc
|
| index 1300b3bcbc2e8b71a7f815a5da18ed623e3da634..d09d39dd48b52590a2ab9a56ec900a90373f5aed 100644
|
| --- a/remoting/host/policy_hack/nat_policy_win.cc
|
| +++ b/remoting/host/policy_hack/nat_policy_win.cc
|
| @@ -42,8 +42,8 @@ class NatPolicyWin :
|
| public NatPolicy,
|
| public base::win::ObjectWatcher::Delegate {
|
| public:
|
| - explicit NatPolicyWin(base::MessageLoopProxy* message_loop_proxy)
|
| - : NatPolicy(message_loop_proxy),
|
| + explicit NatPolicyWin(scoped_refptr<base::SingleThreadTaskRunner> task_runner)
|
| + : NatPolicy(task_runner),
|
| user_policy_changed_event_(false, false),
|
| machine_policy_changed_event_(false, false),
|
| user_policy_watcher_failed_(false),
|
| @@ -177,8 +177,9 @@ class NatPolicyWin :
|
| bool machine_policy_watcher_failed_;
|
| };
|
|
|
| -NatPolicy* NatPolicy::Create(base::MessageLoopProxy* message_loop_proxy) {
|
| - return new NatPolicyWin(message_loop_proxy);
|
| +NatPolicy* NatPolicy::Create(
|
| + scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
|
| + return new NatPolicyWin(task_runner);
|
| }
|
|
|
| } // namespace policy_hack
|
|
|