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

Unified Diff: content/common/gpu/media/video_decode_accelerator_unittest.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/common/gpu/media/video_decode_accelerator_unittest.cc
diff --git a/content/common/gpu/media/video_decode_accelerator_unittest.cc b/content/common/gpu/media/video_decode_accelerator_unittest.cc
index 87f4d0aa711d84b74dfc0141ae3c6e2f30214efc..afb31a145b95bf27942c7ce54a3984bff37f426b 100644
--- a/content/common/gpu/media/video_decode_accelerator_unittest.cc
+++ b/content/common/gpu/media/video_decode_accelerator_unittest.cc
@@ -50,7 +50,6 @@
#include "content/common/gpu/media/gpu_video_decode_accelerator_factory_impl.h"
#include "content/common/gpu/media/rendering_helper.h"
#include "content/common/gpu/media/video_accelerator_unittest_helpers.h"
-#include "gpu/command_buffer/service/gpu_preferences.h"
#include "media/filters/h264_parser.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/codec/png_codec.h"
@@ -531,8 +530,7 @@ void GLRenderingVDAClient::CreateAndStartDecoder() {
}
VideoDecodeAccelerator::Config config(profile_);
- gpu::GpuPreferences gpu_preferences;
- decoder_ = vda_factory_->CreateVDA(this, config, gpu_preferences);
+ decoder_ = vda_factory_->CreateVDA(this, config);
}
LOG_ASSERT(decoder_) << "Failed creating a VDA";

Powered by Google App Engine
This is Rietveld 408576698