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

Unified Diff: content/common/gpu/media/v4l2_video_device.cc

Issue 597473002: Change log level to show real errors in release mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address Pawel's review comments Created 6 years, 3 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: content/common/gpu/media/v4l2_video_device.cc
diff --git a/content/common/gpu/media/v4l2_video_device.cc b/content/common/gpu/media/v4l2_video_device.cc
index 0a094ba6e47d143bb36b7b602094cfb4d73fff44..f62e264d806e3eb63925861368842434b5dedd65 100644
--- a/content/common/gpu/media/v4l2_video_device.cc
+++ b/content/common/gpu/media/v4l2_video_device.cc
@@ -24,7 +24,7 @@ scoped_ptr<V4L2Device> V4L2Device::Create(Type type) {
if (tegra_device->Initialize())
return tegra_device.PassAs<V4L2Device>();
- DLOG(ERROR) << "Failed to create V4L2Device";
+ LOG(ERROR) << "Failed to create V4L2Device";
return scoped_ptr<V4L2Device>();
}
@@ -113,7 +113,7 @@ gfx::Size V4L2Device::CodedSizeFromV4L2Format(struct v4l2_format format) {
<< ", horiz_bpp=" << horiz_bpp;
if (sizeimage == 0 || bytesperline == 0 || horiz_bpp == 0 ||
(bytesperline * 8) % horiz_bpp != 0) {
- DLOG(ERROR) << "Invalid format provided";
+ LOG(ERROR) << "Invalid format provided";
return coded_size;
}

Powered by Google App Engine
This is Rietveld 408576698