Index: media/gpu/gpu_video_decode_accelerator_factory.cc |
diff --git a/media/gpu/gpu_video_decode_accelerator_factory.cc b/media/gpu/gpu_video_decode_accelerator_factory.cc |
index a78c554995416334bb1142de73bf26f2539feb9a..28bd65e5d4c556a6858739d57992160d73405f3d 100644 |
--- a/media/gpu/gpu_video_decode_accelerator_factory.cc |
+++ b/media/gpu/gpu_video_decode_accelerator_factory.cc |
@@ -175,7 +175,7 @@ GpuVideoDecodeAcceleratorFactory::CreateV4L2VDA( |
const gpu::GpuDriverBugWorkarounds& workarounds, |
const gpu::GpuPreferences& gpu_preferences) const { |
std::unique_ptr<VideoDecodeAccelerator> decoder; |
- scoped_refptr<V4L2Device> device = V4L2Device::Create(V4L2Device::kDecoder); |
+ scoped_refptr<V4L2Device> device = V4L2Device::Create(); |
if (device.get()) { |
decoder.reset(new V4L2VideoDecodeAccelerator( |
gl::GLSurfaceEGL::GetHardwareDisplay(), get_gl_context_cb_, |
@@ -189,7 +189,7 @@ GpuVideoDecodeAcceleratorFactory::CreateV4L2SVDA( |
const gpu::GpuDriverBugWorkarounds& workarounds, |
const gpu::GpuPreferences& gpu_preferences) const { |
std::unique_ptr<VideoDecodeAccelerator> decoder; |
- scoped_refptr<V4L2Device> device = V4L2Device::Create(V4L2Device::kDecoder); |
+ scoped_refptr<V4L2Device> device = V4L2Device::Create(); |
if (device.get()) { |
decoder.reset(new V4L2SliceVideoDecodeAccelerator( |
device, gl::GLSurfaceEGL::GetHardwareDisplay(), get_gl_context_cb_, |