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; |