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

Unified Diff: trunk/src/media/video/capture/win/video_capture_device_mf_win.cc

Issue 132233058: Revert 247164 "Implement browser-side logging to WebRtc log" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 11 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: trunk/src/media/video/capture/win/video_capture_device_mf_win.cc
===================================================================
--- trunk/src/media/video/capture/win/video_capture_device_mf_win.cc (revision 247547)
+++ trunk/src/media/video/capture/win/video_capture_device_mf_win.cc (working copy)
@@ -9,7 +9,6 @@
#include "base/lazy_instance.h"
#include "base/memory/ref_counted.h"
-#include "base/strings/stringprintf.h"
#include "base/strings/sys_string_conversions.h"
#include "base/synchronization/waitable_event.h"
#include "base/win/scoped_co_mem.h"
@@ -433,10 +432,9 @@
}
void VideoCaptureDeviceMFWin::OnError(HRESULT hr) {
- std::string log_msg = base::StringPrintf("VideoCaptureDeviceMFWin: %x", hr);
- DLOG(ERROR) << log_msg;
+ DLOG(ERROR) << "VideoCaptureDeviceMFWin: " << std::hex << hr;
if (client_.get())
- client_->OnError(log_msg);
+ client_->OnError();
}
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698