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 58e0e99a980f5ee6a91f4106c6851881dca6d46f..c3fafa3550b26917addb0b3af907c1583da6350a 100644 |
--- a/content/common/gpu/media/video_decode_accelerator_unittest.cc |
+++ b/content/common/gpu/media/video_decode_accelerator_unittest.cc |
@@ -57,7 +57,7 @@ |
#elif defined(OS_CHROMEOS) && defined(ARCH_CPU_ARMEL) |
#include "content/common/gpu/media/v4l2_video_decode_accelerator.h" |
#include "content/common/gpu/media/v4l2_video_device.h" |
-#elif defined(OS_CHROMEOS) && defined(ARCH_CPU_X86_FAMILY) |
+#elif defined(OS_LINUX) && defined(ARCH_CPU_X86_FAMILY) |
#include "content/common/gpu/media/vaapi_video_decode_accelerator.h" |
#include "content/common/gpu/media/vaapi_wrapper.h" |
#if defined(USE_X11) |
@@ -406,7 +406,7 @@ void GLRenderingVDAClient::CreateAndStartDecoder() { |
base::Bind(&DoNothingReturnTrue), |
device.Pass(), |
base::MessageLoopProxy::current())); |
-#elif defined(OS_CHROMEOS) && defined(ARCH_CPU_X86_FAMILY) |
+#elif defined(OS_LINUX) && defined(ARCH_CPU_X86_FAMILY) |
danakj
2014/06/19 15:56:26
and here?
dshwang
2014/06/23 18:33:20
ditto. it's not related change.
|
CHECK_EQ(gfx::kGLImplementationDesktopGL, gfx::GetGLImplementation()) |
<< "Hardware video decode does not work with OSMesa"; |
decoder_.reset(new VaapiVideoDecodeAccelerator( |