Index: webrtc/modules/desktop_capture/win/dxgi_texture.cc |
diff --git a/webrtc/modules/desktop_capture/win/dxgi_texture.cc b/webrtc/modules/desktop_capture/win/dxgi_texture.cc |
index 27ccbf6230c7f9c44f7885eb69f30618c5bc264d..764096fe89c7134f0aa8efe65002e11761eeb0c2 100644 |
--- a/webrtc/modules/desktop_capture/win/dxgi_texture.cc |
+++ b/webrtc/modules/desktop_capture/win/dxgi_texture.cc |
@@ -16,7 +16,6 @@ |
#include "webrtc/base/checks.h" |
#include "webrtc/modules/desktop_capture/desktop_region.h" |
-#include "webrtc/system_wrappers/include/logging.h" |
using Microsoft::WRL::ComPtr; |
@@ -48,9 +47,6 @@ bool DxgiTexture::CopyFrom(const DXGI_OUTDUPL_FRAME_INFO& frame_info, |
__uuidof(ID3D11Texture2D), |
reinterpret_cast<void**>(texture.GetAddressOf())); |
if (error.Error() != S_OK || !texture) { |
- LOG(LS_ERROR) << "Failed to convert IDXGIResource to ID3D11Texture2D, " |
- "error " |
- << error.ErrorMessage() << ", code " << error.Error(); |
return false; |
} |
@@ -58,7 +54,6 @@ bool DxgiTexture::CopyFrom(const DXGI_OUTDUPL_FRAME_INFO& frame_info, |
texture->GetDesc(&desc); |
desktop_size_.set(desc.Width, desc.Height); |
if (resolution_change_detector_.IsChanged(desktop_size_)) { |
- LOG(LS_ERROR) << "Texture size is not consistent with current DxgiTexture."; |
return false; |
} |