Index: webrtc/modules/desktop_capture/win/cursor.cc |
diff --git a/webrtc/modules/desktop_capture/win/cursor.cc b/webrtc/modules/desktop_capture/win/cursor.cc |
index 304d5960d5ed7b3c450738ea31bf406b7cf23408..8c85018b81645ed2a78a48127e196c8e2e47992a 100644 |
--- a/webrtc/modules/desktop_capture/win/cursor.cc |
+++ b/webrtc/modules/desktop_capture/win/cursor.cc |
@@ -17,7 +17,6 @@ |
#include "webrtc/modules/desktop_capture/desktop_frame.h" |
#include "webrtc/modules/desktop_capture/desktop_geometry.h" |
#include "webrtc/modules/desktop_capture/mouse_cursor.h" |
-#include "webrtc/system_wrappers/include/logging.h" |
#include "webrtc/typedefs.h" |
namespace webrtc { |
@@ -112,8 +111,6 @@ bool HasAlphaChannel(const uint32_t* data, int stride, int width, int height) { |
MouseCursor* CreateMouseCursorFromHCursor(HDC dc, HCURSOR cursor) { |
ICONINFO iinfo; |
if (!GetIconInfo(cursor, &iinfo)) { |
- LOG_F(LS_ERROR) << "Unable to get cursor icon info. Error = " |
- << GetLastError(); |
return NULL; |
} |
@@ -128,8 +125,6 @@ MouseCursor* CreateMouseCursorFromHCursor(HDC dc, HCURSOR cursor) { |
// Get |scoped_mask| dimensions. |
BITMAP bitmap_info; |
if (!GetObject(scoped_mask, sizeof(bitmap_info), &bitmap_info)) { |
- LOG_F(LS_ERROR) << "Unable to get bitmap info. Error = " |
- << GetLastError(); |
return NULL; |
} |
@@ -156,8 +151,6 @@ MouseCursor* CreateMouseCursorFromHCursor(HDC dc, HCURSOR cursor) { |
mask_data.get(), |
reinterpret_cast<BITMAPINFO*>(&bmi), |
DIB_RGB_COLORS)) { |
- LOG_F(LS_ERROR) << "Unable to get bitmap bits. Error = " |
- << GetLastError(); |
return NULL; |
} |
@@ -176,8 +169,6 @@ MouseCursor* CreateMouseCursorFromHCursor(HDC dc, HCURSOR cursor) { |
image->data(), |
reinterpret_cast<BITMAPINFO*>(&bmi), |
DIB_RGB_COLORS)) { |
- LOG_F(LS_ERROR) << "Unable to get bitmap bits. Error = " |
- << GetLastError(); |
return NULL; |
} |