Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: webrtc/modules/desktop_capture/win/cursor.cc

Issue 2787263003: Delete all log messages depending on system_wrappers. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}
« no previous file with comments | « webrtc/modules/desktop_capture/screen_drawer_unittest.cc ('k') | webrtc/modules/desktop_capture/win/d3d_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698