| Index: webrtc/modules/desktop_capture/cropping_window_capturer.cc
|
| diff --git a/webrtc/modules/desktop_capture/cropping_window_capturer.cc b/webrtc/modules/desktop_capture/cropping_window_capturer.cc
|
| index 711fe0d1ba6224b2a52d0c7e238a22a976c705b2..ac4039015c020a25dd8bcf5efcedbc694f02d1a9 100644
|
| --- a/webrtc/modules/desktop_capture/cropping_window_capturer.cc
|
| +++ b/webrtc/modules/desktop_capture/cropping_window_capturer.cc
|
| @@ -11,7 +11,6 @@
|
| #include "webrtc/modules/desktop_capture/cropping_window_capturer.h"
|
|
|
| #include "webrtc/modules/desktop_capture/cropped_desktop_frame.h"
|
| -#include "webrtc/system_wrappers/include/logging.h"
|
|
|
| namespace webrtc {
|
|
|
| @@ -77,20 +76,17 @@ void CroppingWindowCapturer::OnCaptureResult(
|
| DesktopCapturer::Result result,
|
| std::unique_ptr<DesktopFrame> screen_frame) {
|
| if (!ShouldUseScreenCapturer()) {
|
| - LOG(LS_INFO) << "Window no longer on top when ScreenCapturer finishes";
|
| window_capturer_->CaptureFrame();
|
| return;
|
| }
|
|
|
| if (result != Result::SUCCESS) {
|
| - LOG(LS_WARNING) << "ScreenCapturer failed to capture a frame";
|
| callback_->OnCaptureResult(result, nullptr);
|
| return;
|
| }
|
|
|
| DesktopRect window_rect = GetWindowRectInVirtualScreen();
|
| if (window_rect.is_empty()) {
|
| - LOG(LS_WARNING) << "Window rect is empty";
|
| callback_->OnCaptureResult(Result::ERROR_TEMPORARY, nullptr);
|
| return;
|
| }
|
|
|