| Index: webrtc/modules/desktop_capture/screen_capturer_x11.cc
|
| diff --git a/webrtc/modules/desktop_capture/screen_capturer_x11.cc b/webrtc/modules/desktop_capture/screen_capturer_x11.cc
|
| index da58e647a45c77a9cb826e678c583361fbc71ea8..a6f4f91838ea7bacef11024fafeec373ade03e82 100644
|
| --- a/webrtc/modules/desktop_capture/screen_capturer_x11.cc
|
| +++ b/webrtc/modules/desktop_capture/screen_capturer_x11.cc
|
| @@ -292,7 +292,7 @@ bool ScreenCapturerLinux::HandleXEvent(const XEvent& event) {
|
|
|
| std::unique_ptr<DesktopFrame> ScreenCapturerLinux::CaptureScreen() {
|
| std::unique_ptr<SharedDesktopFrame> frame = queue_.current_frame()->Share();
|
| - assert(x_server_pixel_buffer_.window_size().equals(frame->size()));
|
| + RTC_DCHECK(x_server_pixel_buffer_.window_size().equals(frame->size()));
|
|
|
| // Pass the screen size to the helper, so it can clip the invalid region if it
|
| // expands that region to a grid.
|
|
|