Index: chrome/test/automation/automation_proxy_uitest.cc |
diff --git a/chrome/test/automation/automation_proxy_uitest.cc b/chrome/test/automation/automation_proxy_uitest.cc |
index 526960521fdf2565c7e66f189a44dd58856a6d0e..cb243daefdfd1376908115d6896878f6571be66a 100644 |
--- a/chrome/test/automation/automation_proxy_uitest.cc |
+++ b/chrome/test/automation/automation_proxy_uitest.cc |
@@ -107,12 +107,12 @@ TEST_F(AutomationProxyVisibleTest, MAYBE_WindowGetViewBounds) { |
gfx::Rect bounds; |
ASSERT_TRUE(window->GetViewBounds(VIEW_ID_TAB_0, &bounds, false)); |
- EXPECT_GT(bounds.x(), 0); |
EXPECT_GT(bounds.width(), 0); |
EXPECT_GT(bounds.height(), 0); |
gfx::Rect bounds2; |
ASSERT_TRUE(window->GetViewBounds(VIEW_ID_TAB_LAST, &bounds2, false)); |
+ EXPECT_GT(bounds2.x(), 0); |
EXPECT_GT(bounds2.width(), 0); |
EXPECT_GT(bounds2.height(), 0); |