| Index: webrtc/modules/desktop_capture/screen_drawer_linux.cc
|
| diff --git a/webrtc/modules/desktop_capture/screen_drawer_linux.cc b/webrtc/modules/desktop_capture/screen_drawer_linux.cc
|
| index c78e6843fe0607ec90d766515ecbcec5d46c62f6..0dd40362198916d91b8b658aa763ede45e2d0741 100644
|
| --- a/webrtc/modules/desktop_capture/screen_drawer_linux.cc
|
| +++ b/webrtc/modules/desktop_capture/screen_drawer_linux.cc
|
| @@ -83,7 +83,7 @@ ScreenDrawerLinux::ScreenDrawerLinux() {
|
| if (!XGetWindowAttributes(display_->display(),
|
| RootWindow(display_->display(), screen_num_),
|
| &root_attributes)) {
|
| - RTC_DCHECK(false) << "Failed to get root window size.";
|
| + RTC_NOTREACHED() << "Failed to get root window size.";
|
| }
|
| window_ = XCreateSimpleWindow(
|
| display_->display(), RootWindow(display_->display(), screen_num_), 0, 0,
|
| @@ -105,7 +105,7 @@ ScreenDrawerLinux::ScreenDrawerLinux() {
|
| if (!XTranslateCoordinates(display_->display(), window_,
|
| RootWindow(display_->display(), screen_num_), 0, 0,
|
| &x, &y, &child)) {
|
| - RTC_DCHECK(false) << "Failed to get window position.";
|
| + RTC_NOTREACHED() << "Failed to get window position.";
|
| }
|
| // Some window manager does not allow a window to cover two or more monitors.
|
| // So if the window is on the first monitor of a two-monitor system, the
|
|
|