Index: chrome/browser/chromeos/login/screen_locker_browsertest.cc |
diff --git a/chrome/browser/chromeos/login/screen_locker_browsertest.cc b/chrome/browser/chromeos/login/screen_locker_browsertest.cc |
index 03f99938975bb9203c67ffa8b1ef8d03ba6ad842..1720a3d17d2a6da854d611921fb49487ace87396 100644 |
--- a/chrome/browser/chromeos/login/screen_locker_browsertest.cc |
+++ b/chrome/browser/chromeos/login/screen_locker_browsertest.cc |
@@ -179,7 +179,7 @@ IN_PROC_BROWSER_TEST_F(ScreenLockerTest, TestBasic) { |
// Test to make sure that the widget is actually appearing and is of |
// reasonable size, preventing a regression of |
// http://code.google.com/p/chromium-os/issues/detail?id=5987 |
- gfx::Rect lock_bounds = tester->GetChildWidget()->GetWindowScreenBounds(); |
+ gfx::Rect lock_bounds = tester->GetChildWidget()->GetWindowBoundsInScreen(); |
EXPECT_GT(lock_bounds.width(), 10); |
EXPECT_GT(lock_bounds.height(), 10); |