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) { |