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..4233858ef65829fef169f7b197c1ba21f0f33564 100644 |
--- a/media/gpu/gpu_video_decode_accelerator_factory.cc |
+++ b/media/gpu/gpu_video_decode_accelerator_factory.cc |
@@ -175,7 +175,8 @@ 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(V4L2Device::Type::kDecoder); |
if (device.get()) { |
decoder.reset(new V4L2VideoDecodeAccelerator( |
gl::GLSurfaceEGL::GetHardwareDisplay(), get_gl_context_cb_, |
@@ -189,7 +190,8 @@ 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(V4L2Device::Type::kDecoder); |
if (device.get()) { |
decoder.reset(new V4L2SliceVideoDecodeAccelerator( |
device, gl::GLSurfaceEGL::GetHardwareDisplay(), get_gl_context_cb_, |