Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Unified Diff: remoting/host/policy_hack/policy_watcher_mac.mm

Issue 810133003: replace NULL->nullptr in src/remoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/policy_hack/policy_watcher_linux.cc ('k') | remoting/host/posix/signal_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
}
« no previous file with comments | « remoting/host/policy_hack/policy_watcher_linux.cc ('k') | remoting/host/posix/signal_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698