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

Unified Diff: webrtc/modules/desktop_capture/cropping_window_capturer_win.cc

Issue 2685783014: Replace NULL with nullptr in all C++ files. (Closed)
Patch Set: Fixing android. Created 3 years, 10 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
Index: webrtc/modules/desktop_capture/cropping_window_capturer_win.cc
diff --git a/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc b/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc
index 4cd9b8c1ee74097c9a0b6bcdb8a2ddc5fef41d65..6828390c4183ebea64e3c6edc5a4f038a7275c7b 100644
--- a/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc
+++ b/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc
@@ -167,7 +167,7 @@ bool CroppingWindowCapturerWin::ShouldUseScreenCapturer() {
int region_type = GetWindowRgn(selected, scoped_hrgn.Get());
// Do not use the screen capturer if the region is empty or not rectangular.
- if (region_type == COMPLEXREGION || region_type == NULLREGION)
+ if (region_type == COMPLEXREGION || region_type == nullptrREGION)
return false;
if (region_type == SIMPLEREGION) {

Powered by Google App Engine
This is Rietveld 408576698