Index: remoting/host/policy_watcher.cc |
diff --git a/remoting/host/policy_watcher.cc b/remoting/host/policy_watcher.cc |
index 4dc8beb587fc964a4e644a6ed4b6ecdef649743b..2b9a60a429cddd20a81b0f9b734f6fecbfc95854 100644 |
--- a/remoting/host/policy_watcher.cc |
+++ b/remoting/host/policy_watcher.cc |
@@ -159,11 +159,7 @@ void PolicyWatcher::StartWatching( |
} |
std::unique_ptr<base::DictionaryValue> PolicyWatcher::GetCurrentPolicies() { |
- // If |old_policies_| is empty, then the PolicyService has not yet provided |
- // policies, so just return the default values. Otherwise, |old_policies_| |
- // already contains all the supported policies, defaults and overrides. |
- return old_policies_->size() == 0 ? GetDefaultPolicies() |
- : old_policies_->CreateDeepCopy(); |
+ return old_policies_->CreateDeepCopy(); |
} |
std::unique_ptr<base::DictionaryValue> PolicyWatcher::GetDefaultPolicies() { |