Index: ui/views/widget/widget_unittest.cc |
diff --git a/ui/views/widget/widget_unittest.cc b/ui/views/widget/widget_unittest.cc |
index 9716a6c7ff51c63884d2dd0380dbb4e7163bbbb5..7260c2be7f1c4d23575cf50da05e6313b32c78e7 100644 |
--- a/ui/views/widget/widget_unittest.cc |
+++ b/ui/views/widget/widget_unittest.cc |
@@ -756,24 +756,24 @@ TEST_F(WidgetObserverTest, DestroyBubble) { |
// NativeWidgetGtk doesn't implement GetRestoredBounds. |
TEST_F(WidgetTest, GetRestoredBounds) { |
Widget* toplevel = CreateTopLevelPlatformWidget(); |
- EXPECT_EQ(toplevel->GetWindowScreenBounds().ToString(), |
+ EXPECT_EQ(toplevel->GetWindowBoundsInScreen().ToString(), |
toplevel->GetRestoredBounds().ToString()); |
toplevel->Show(); |
toplevel->Maximize(); |
RunPendingMessages(); |
- EXPECT_NE(toplevel->GetWindowScreenBounds().ToString(), |
+ EXPECT_NE(toplevel->GetWindowBoundsInScreen().ToString(), |
toplevel->GetRestoredBounds().ToString()); |
EXPECT_GT(toplevel->GetRestoredBounds().width(), 0); |
EXPECT_GT(toplevel->GetRestoredBounds().height(), 0); |
toplevel->Restore(); |
RunPendingMessages(); |
- EXPECT_EQ(toplevel->GetWindowScreenBounds().ToString(), |
+ EXPECT_EQ(toplevel->GetWindowBoundsInScreen().ToString(), |
toplevel->GetRestoredBounds().ToString()); |
toplevel->SetFullscreen(true); |
RunPendingMessages(); |
- EXPECT_NE(toplevel->GetWindowScreenBounds().ToString(), |
+ EXPECT_NE(toplevel->GetWindowBoundsInScreen().ToString(), |
toplevel->GetRestoredBounds().ToString()); |
EXPECT_GT(toplevel->GetRestoredBounds().width(), 0); |
EXPECT_GT(toplevel->GetRestoredBounds().height(), 0); |