Chromium Code Reviews| 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 78ea8ba2c6d564e509b452686c0607a1b8d6ecff..4716da962da2f663f0276aec6a96746a40bda0d0 100644 |
| --- a/content/common/gpu/media/video_decode_accelerator_unittest.cc |
| +++ b/content/common/gpu/media/video_decode_accelerator_unittest.cc |
| @@ -49,7 +49,6 @@ |
| #include "content/common/gpu/media/fake_video_decode_accelerator.h" |
| #include "content/common/gpu/media/rendering_helper.h" |
| #include "content/common/gpu/media/video_accelerator_unittest_helpers.h" |
| -#include "content/public/common/content_switches.h" |
| #include "media/filters/h264_parser.h" |
| #include "testing/gtest/include/gtest/gtest.h" |
| #include "ui/gfx/codec/png_codec.h" |
| @@ -522,8 +521,7 @@ GLRenderingVDAClient::CreateDXVAVDA() { |
| #if defined(OS_WIN) |
| if (base::win::GetVersion() >= base::win::VERSION_WIN7) { |
| const base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess(); |
| - const bool enable_accelerated_vpx_decode = |
| - cmd_line->HasSwitch(switches::kEnableAcceleratedVpxDecode); |
|
piman
2016/03/17 00:17:25
Aren't we removing functionality here?
Peng
2016/03/17 14:22:31
I didn't find any code sets this flag in code sear
Peng
2016/03/17 15:00:43
Or we could define a duplicated const string varia
DaleCurtis
2016/03/17 17:43:22
This was kept here to allow Intel and other manufa
DaleCurtis
2016/03/17 18:42:18
Whoops, just saw this is in the unittest. It's pro
|
| + const bool enable_accelerated_vpx_decode = false; |
| decoder.reset(new DXVAVideoDecodeAccelerator( |
| base::Bind(&DoNothingReturnTrue), |
| rendering_helper_->GetGLContext().get(), |