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 5f0e3a6d17f44734878c272a8555149e94f57d0e..62d884cb3ec5984b24b6c74fb43e6e4ad8ca93c6 100644 |
--- a/content/common/gpu/media/video_decode_accelerator_unittest.cc |
+++ b/content/common/gpu/media/video_decode_accelerator_unittest.cc |
@@ -510,7 +510,9 @@ GLRenderingVDAClient::CreateDXVAVDA() { |
#if defined(OS_WIN) |
if (base::win::GetVersion() >= base::win::VERSION_WIN7) |
decoder.reset( |
- new DXVAVideoDecodeAccelerator(base::Bind(&DoNothingReturnTrue))); |
+ new DXVAVideoDecodeAccelerator( |
+ base::Bind(&DoNothingReturnTrue), |
+ rendering_helper_->GetGLContext().get())); |
#endif |
return decoder.Pass(); |
} |