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..fbd5fb4a5f765acd485183786ff0457bc49a68a0 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" |
@@ -521,9 +520,7 @@ GLRenderingVDAClient::CreateDXVAVDA() { |
scoped_ptr<media::VideoDecodeAccelerator> decoder; |
#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); |
+ const bool enable_accelerated_vpx_decode = false; |
Pawel Osciak
2016/03/18 01:56:57
Removing this may prevent us from testing this fea
Peng
2016/03/18 15:16:44
Do we need pass the --enable-accelerated-vpx-decod
|
decoder.reset(new DXVAVideoDecodeAccelerator( |
base::Bind(&DoNothingReturnTrue), |
rendering_helper_->GetGLContext().get(), |