Index: content/common/gpu/media/video_decode_accelerator_unittest.cc |
=================================================================== |
--- content/common/gpu/media/video_decode_accelerator_unittest.cc (revision 127422) |
+++ content/common/gpu/media/video_decode_accelerator_unittest.cc (working copy) |
@@ -424,7 +424,7 @@ |
#else // OS_WIN |
void RenderingHelper::PlatformInitialize() { |
- CHECK(x_display_ = XOpenDisplay(NULL)); |
+ CHECK(x_display_ = base::MessagePumpForUI::GetDefaultXDisplay()); |
} |
void RenderingHelper::PlatformUnInitialize() { |