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 4bd82f9ddc1923d0b87cccf672a1d89439c81651..641af9c065cdc07a17450cbb5ae2e3dcd19b992b 100644 |
--- a/remoting/host/policy_hack/policy_watcher_linux.cc |
+++ b/remoting/host/policy_hack/policy_watcher_linux.cc |
@@ -50,7 +50,7 @@ class PolicyWatcherLinux : public PolicyWatcher { |
const base::FilePath& config_dir) |
: PolicyWatcher(task_runner), |
config_dir_(config_dir), |
- ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) { |
+ weak_factory_(this) { |
// Detach the factory because we ensure that only the policy thread ever |
// calls methods on this. Also, the API contract of having to call |
// StopWatching() (which signals completion) after StartWatching() |