Index: chrome/browser/plugins/plugin_power_saver_browsertest.cc |
diff --git a/chrome/browser/plugins/plugin_power_saver_browsertest.cc b/chrome/browser/plugins/plugin_power_saver_browsertest.cc |
index 234c0a98db6841940b74c5433bb4e5ce4f8a1fa8..cb66ea64b182b7c833254a6d5a4171c5fb2015d6 100644 |
--- a/chrome/browser/plugins/plugin_power_saver_browsertest.cc |
+++ b/chrome/browser/plugins/plugin_power_saver_browsertest.cc |
@@ -295,7 +295,7 @@ class PluginPowerSaverBrowserTest : public InProcessBrowserTest { |
if (PixelTestsEnabled()) { |
gfx::Rect bounds(gfx::Rect(0, 0, kBrowserWidth, kBrowserHeight)); |
gfx::Rect screen_bounds = |
- gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().bounds(); |
+ gfx::Screen::GetScreen()->GetPrimaryDisplay().bounds(); |
ASSERT_GT(screen_bounds.width(), kBrowserWidth); |
ASSERT_GT(screen_bounds.height(), kBrowserHeight); |
browser()->window()->SetBounds(bounds); |