Index: chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc |
diff --git a/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc b/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc |
index dca72d860fdcbf5317fff2038f487f5f28f6e4b2..8579da210390252329d65664843121d465c9b63f 100644 |
--- a/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc |
+++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc |
@@ -528,10 +528,9 @@ TEST_F(OpaqueBrowserFrameViewLayoutTest, WindowWithNewAvatar) { |
// Check the location of the avatar button. |
EXPECT_EQ("385,1 12x18", new_avatar_button_->bounds().ToString()); |
- // The basic window bounds are (-1, 13 398x29). There should not be an icon |
- // avatar in the left, and the new avatar button has an offset of 5 to its |
- // next control. |
- EXPECT_EQ("-1,13 381x29", |
+ // The new tab button is 39px wide and slides completely under the new |
+ // avatar button, thus increasing the tabstrip by that amount. |
+ EXPECT_EQ("-1,13 420x29", |
layout_manager_->GetBoundsForTabStrip( |
delegate_->GetTabstripPreferredSize(), kWidth).ToString()); |
EXPECT_EQ("261x73", layout_manager_->GetMinimumSize(kWidth).ToString()); |