| Index: content/public/gpu/gpu_video_decode_accelerator_factory.cc
|
| diff --git a/content/public/gpu/gpu_video_decode_accelerator_factory.cc b/content/public/gpu/gpu_video_decode_accelerator_factory.cc
|
| index 57b46a86f10ae50e182fcc7dd1e7744deabe40dd..828eccf4926eec0a5d18ea7182a8ac645b10a06a 100644
|
| --- a/content/public/gpu/gpu_video_decode_accelerator_factory.cc
|
| +++ b/content/public/gpu/gpu_video_decode_accelerator_factory.cc
|
| @@ -43,6 +43,18 @@ GpuVideoDecodeAcceleratorFactory::CreateWithGLES2Decoder(
|
| }
|
|
|
| // static
|
| +scoped_ptr<GpuVideoDecodeAcceleratorFactory>
|
| +GpuVideoDecodeAcceleratorFactory::CreateWithNoGL() {
|
| + auto gvdafactory_impl =
|
| + GpuVideoDecodeAcceleratorFactoryImpl::CreateWithNoGL();
|
| + if (!gvdafactory_impl)
|
| + return nullptr;
|
| +
|
| + return make_scoped_ptr(
|
| + new GpuVideoDecodeAcceleratorFactory(std::move(gvdafactory_impl)));
|
| +}
|
| +
|
| +// static
|
| gpu::VideoDecodeAcceleratorCapabilities
|
| GpuVideoDecodeAcceleratorFactory::GetDecoderCapabilities(
|
| const gpu::GpuPreferences& gpu_preferences) {
|
|
|