| Index: content/browser/media/capture/web_contents_video_capture_device_unittest.cc
|
| diff --git a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
|
| index 9e3bf83c4616172b6190f9177327477fde34e83e..6f1df992ec4d937552ec1b6bcc6a6bf9e47a9d68 100644
|
| --- a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
|
| +++ b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
|
| @@ -590,8 +590,8 @@ class MAYBE_WebContentsVideoCaptureDeviceTest : public testing::Test {
|
| test_screen_.display()->set_bounds(gfx::Rect(0, 0, 2560, 1440));
|
| test_screen_.display()->set_device_scale_factor(kTestDeviceScaleFactor);
|
|
|
| - gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, &test_screen_);
|
| - ASSERT_EQ(&test_screen_, gfx::Screen::GetNativeScreen());
|
| + gfx::Screen::SetScreenInstance(&test_screen_);
|
| + ASSERT_EQ(&test_screen_, gfx::Screen::GetScreen());
|
|
|
| // TODO(nick): Sadness and woe! Much "mock-the-world" boilerplate could be
|
| // eliminated here, if only we could use RenderViewHostTestHarness. The
|
| @@ -649,7 +649,7 @@ class MAYBE_WebContentsVideoCaptureDeviceTest : public testing::Test {
|
| render_view_host_factory_.reset();
|
| render_process_host_factory_.reset();
|
|
|
| - gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, NULL);
|
| + gfx::Screen::SetScreenInstance(NULL);
|
| }
|
|
|
| // Accessors.
|
|
|