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..566888f7c213e60472e94568f2d4f995c77b2554 100644 |
--- a/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc |
+++ b/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc |
@@ -14,7 +14,6 @@ |
#include "webrtc/modules/desktop_capture/win/scoped_gdi_object.h" |
#include "webrtc/modules/desktop_capture/win/screen_capture_utils.h" |
#include "webrtc/modules/desktop_capture/win/window_capture_utils.h" |
-#include "webrtc/system_wrappers/include/logging.h" |
namespace webrtc { |
@@ -195,7 +194,6 @@ DesktopRect CroppingWindowCapturerWin::GetWindowRectInVirtualScreen() { |
DesktopRect window_rect; |
HWND hwnd = reinterpret_cast<HWND>(selected_window()); |
if (!GetCroppedWindowRect(hwnd, &window_rect, &original_rect)) { |
- LOG(LS_WARNING) << "Failed to get window info: " << GetLastError(); |
return window_rect; |
} |
window_rect.IntersectWith(window_region_rect_); |