| Index: ui/views/widget/widget_interactive_uitest.cc
|
| diff --git a/ui/views/widget/widget_interactive_uitest.cc b/ui/views/widget/widget_interactive_uitest.cc
|
| index 8af4ce48c1eaa6dbf9e6f645170f6f2bade34141..8fa88e7ca73281129e5062de4704bdb08619c19c 100644
|
| --- a/ui/views/widget/widget_interactive_uitest.cc
|
| +++ b/ui/views/widget/widget_interactive_uitest.cc
|
| @@ -799,7 +799,7 @@ TEST_F(WidgetTestInteractive, FullscreenMaximizedWindowBounds) {
|
|
|
| gfx::Rect monitor_bounds(monitor_info.rcMonitor);
|
| gfx::Rect window_bounds = widget.GetWindowBoundsInScreen();
|
| - gfx::Rect client_area_bounds = host->GetBounds();
|
| + gfx::Rect client_area_bounds = host->GetBoundsInPixels();
|
|
|
| EXPECT_EQ(window_bounds, monitor_bounds);
|
| EXPECT_EQ(monitor_bounds, client_area_bounds);
|
| @@ -809,7 +809,7 @@ TEST_F(WidgetTestInteractive, FullscreenMaximizedWindowBounds) {
|
| EXPECT_FALSE(widget.IsFullscreen());
|
| EXPECT_TRUE(widget.IsMaximized());
|
|
|
| - client_area_bounds = host->GetBounds();
|
| + client_area_bounds = host->GetBoundsInPixels();
|
| EXPECT_TRUE(monitor_bounds.Contains(client_area_bounds));
|
| EXPECT_NE(monitor_bounds, client_area_bounds);
|
|
|
|
|