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

Unified Diff: webrtc/modules/desktop_capture/win/dxgi_texture_mapping.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/dxgi_texture_mapping.cc
diff --git a/webrtc/modules/desktop_capture/win/dxgi_texture_mapping.cc b/webrtc/modules/desktop_capture/win/dxgi_texture_mapping.cc
index f60edc775e562411171edb5b76890ddc91d2ef2d..026cc4dfa0f7a62d88df5b7c8728aab61f300d80 100644
--- a/webrtc/modules/desktop_capture/win/dxgi_texture_mapping.cc
+++ b/webrtc/modules/desktop_capture/win/dxgi_texture_mapping.cc
@@ -15,7 +15,6 @@
#include <DXGI1_2.h>
#include "webrtc/base/checks.h"
-#include "webrtc/system_wrappers/include/logging.h"
namespace webrtc {
@@ -34,9 +33,6 @@ bool DxgiTextureMapping::CopyFromTexture(
_com_error error = duplication_->MapDesktopSurface(rect());
if (error.Error() != S_OK) {
*rect() = {0};
- LOG(LS_ERROR) << "Failed to map the IDXGIOutputDuplication to a bitmap, "
- "error "
- << error.ErrorMessage() << ", code " << error.Error();
return false;
}
@@ -46,8 +42,6 @@ bool DxgiTextureMapping::CopyFromTexture(
bool DxgiTextureMapping::DoRelease() {
_com_error error = duplication_->UnMapDesktopSurface();
if (error.Error() != S_OK) {
- LOG(LS_ERROR) << "Failed to unmap the IDXGIOutputDuplication, error "
- << error.ErrorMessage() << ", code " << error.Error();
return false;
}
return true;
« no previous file with comments | « webrtc/modules/desktop_capture/win/dxgi_texture.cc ('k') | webrtc/modules/desktop_capture/win/dxgi_texture_staging.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698