Index: remoting/host/policy_hack/policy_watcher_mac.mm |
diff --git a/remoting/host/policy_hack/policy_watcher_mac.mm b/remoting/host/policy_hack/policy_watcher_mac.mm |
index 23e223b99dd472325b13cbc988757a62d8eedb81..63d330770636cc33f106186b95300f4ff4ff6119 100644 |
--- a/remoting/host/policy_hack/policy_watcher_mac.mm |
+++ b/remoting/host/policy_hack/policy_watcher_mac.mm |
@@ -60,10 +60,10 @@ class PolicyWatcherMac : public PolicyWatcher { |
if (i.value().GetType() == base::DictionaryValue::TYPE_STRING) { |
base::ScopedCFTypeRef<CFPropertyListRef> property_list( |
CFPreferencesCopyAppValue(policy_key, policy_bundle_id)); |
- if (property_list.get() != NULL) { |
+ if (property_list.get() != nullptr) { |
CFStringRef policy_value = base::mac::CFCast<CFStringRef>( |
property_list.get()); |
- if (policy_value != NULL) { |
+ if (policy_value != nullptr) { |
policy.SetString(policy_name, |
base::SysCFStringRefToUTF8(policy_value)); |
} |