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

Unified Diff: media/gpu/generic_v4l2_device.cc

Issue 2151653004: Fix a -Wunused-private-member warning in a //media/gpu file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « media/gpu/generic_v4l2_device.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/generic_v4l2_device.cc
diff --git a/media/gpu/generic_v4l2_device.cc b/media/gpu/generic_v4l2_device.cc
index ebdc867b12a5b63f3b4ef6627a82488dc883806a..e707c89df2c4ad742a4d6c5b3c882704d50ea0e1 100644
--- a/media/gpu/generic_v4l2_device.cc
+++ b/media/gpu/generic_v4l2_device.cc
@@ -48,8 +48,11 @@ const char kImageProcessorDevice[] = "/dev/image-proc0";
const char kJpegDecoderDevice[] = "/dev/jpeg-dec";
}
-GenericV4L2Device::GenericV4L2Device(Type type)
- : V4L2Device(type), use_libv4l2_(false) {}
+GenericV4L2Device::GenericV4L2Device(Type type) : V4L2Device(type) {
+#if defined(USE_LIBV4L2)
+ use_libvl2_ = false;
wuchengli 2016/07/15 13:16:06 s/use_libvl2_/use_libv4l2_/
Dirk Pranke 2016/07/15 19:10:07 Good catch, fixed.
+#endif
+}
GenericV4L2Device::~GenericV4L2Device() {
#if defined(USE_LIBV4L2)
« no previous file with comments | « media/gpu/generic_v4l2_device.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698