Index: webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.cc |
diff --git a/webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.cc b/webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.cc |
index 4035cbf0d1fffd69b9963c3027d5ebfbb84b8870..2224cca81e0f8c2e5765a3210ff9b5731d263d12 100644 |
--- a/webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.cc |
+++ b/webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.cc |
@@ -28,7 +28,7 @@ const int64_t kUpdateIntervalMs = 500; |
std::string GetWindowTitle(CGWindowID id) { |
CFArrayRef window_id_array = |
- CFArrayCreate(NULL, reinterpret_cast<const void **>(&id), 1, NULL); |
+ CFArrayCreate(nullptr, reinterpret_cast<const void**>(&id), 1, nullptr); |
CFArrayRef window_array = |
CGWindowListCreateDescriptionFromArray(window_id_array); |
std::string title; |
@@ -50,7 +50,7 @@ std::string GetWindowTitle(CGWindowID id) { |
int GetWindowOwnerPid(CGWindowID id) { |
CFArrayRef window_id_array = |
- CFArrayCreate(NULL, reinterpret_cast<const void **>(&id), 1, NULL); |
+ CFArrayCreate(nullptr, reinterpret_cast<const void**>(&id), 1, nullptr); |
CFArrayRef window_array = |
CGWindowListCreateDescriptionFromArray(window_id_array); |
int pid = 0; |