| Index: remoting/host/policy_watcher.cc
|
| diff --git a/remoting/host/policy_watcher.cc b/remoting/host/policy_watcher.cc
|
| index 58edfce9b662e4a52445edf3ae5b17a9c532c6f0..b17872535688a1f49fb51ea321a189966604a198 100644
|
| --- a/remoting/host/policy_watcher.cc
|
| +++ b/remoting/host/policy_watcher.cc
|
| @@ -283,8 +283,9 @@ scoped_ptr<PolicyWatcher> PolicyWatcher::Create(
|
| // Chromium.
|
| scoped_ptr<policy::AsyncPolicyLoader> policy_loader;
|
| #if defined(OS_WIN)
|
| - policy_loader = policy::PolicyLoaderWin::Create(
|
| - file_task_runner, L"SOFTWARE\\Policies\\Google\\Chrome");
|
| + policy_loader.reset(new policy::PolicyLoaderWin(
|
| + file_task_runner, L"SOFTWARE\\Policies\\Google\\Chrome",
|
| + nullptr)); // nullptr = don't use GPO / always read from the registry.
|
| #elif defined(OS_MACOSX)
|
| CFStringRef bundle_id = CFSTR("com.google.Chrome");
|
| policy_loader.reset(new policy::PolicyLoaderMac(
|
|
|