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

Unified Diff: content/public/gpu/gpu_video_decode_accelerator_factory.cc

Issue 1859403002: Avoid GpuPreferences exposed in content public gpu interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/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..a465b1761267925acbbfe390060cb34ac2718e13 100644
--- a/content/public/gpu/gpu_video_decode_accelerator_factory.cc
+++ b/content/public/gpu/gpu_video_decode_accelerator_factory.cc
@@ -44,21 +44,18 @@ GpuVideoDecodeAcceleratorFactory::CreateWithGLES2Decoder(
// static
gpu::VideoDecodeAcceleratorCapabilities
-GpuVideoDecodeAcceleratorFactory::GetDecoderCapabilities(
- const gpu::GpuPreferences& gpu_preferences) {
- return GpuVideoDecodeAcceleratorFactoryImpl::GetDecoderCapabilities(
- gpu_preferences);
+GpuVideoDecodeAcceleratorFactory::GetDecoderCapabilities() {
+ return GpuVideoDecodeAcceleratorFactoryImpl::GetDecoderCapabilities();
}
scoped_ptr<media::VideoDecodeAccelerator>
GpuVideoDecodeAcceleratorFactory::CreateVDA(
media::VideoDecodeAccelerator::Client* client,
- const media::VideoDecodeAccelerator::Config& config,
- const gpu::GpuPreferences& gpu_preferences) {
+ const media::VideoDecodeAccelerator::Config& config) {
if (!gvdafactory_impl_)
return nullptr;
- return gvdafactory_impl_->CreateVDA(client, config, gpu_preferences);
+ return gvdafactory_impl_->CreateVDA(client, config);
}
GpuVideoDecodeAcceleratorFactory::GpuVideoDecodeAcceleratorFactory(
« content/gpu/gpu_child_thread.h ('K') | « content/public/gpu/gpu_video_decode_accelerator_factory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698