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

Unified Diff: webrtc/modules/desktop_capture/win/dxgi_texture.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.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;
}
« no previous file with comments | « webrtc/modules/desktop_capture/win/desktop.cc ('k') | webrtc/modules/desktop_capture/win/dxgi_texture_mapping.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698