Chromium Code Reviews| Index: chrome/browser/ui/views/frame/browser_view_unittest.cc |
| diff --git a/chrome/browser/ui/views/frame/browser_view_unittest.cc b/chrome/browser/ui/views/frame/browser_view_unittest.cc |
| index a693b05ce586c64528c709b745d4d9a05c1ffea2..762c39428b5765ae189cf8618d6685deb0cc5547 100644 |
| --- a/chrome/browser/ui/views/frame/browser_view_unittest.cc |
| +++ b/chrome/browser/ui/views/frame/browser_view_unittest.cc |
| @@ -200,7 +200,8 @@ TEST_F(BrowserViewHostedAppTest, Layout) { |
| EXPECT_EQ(bottom_of_header, contents_container->y()); |
| // The find bar should overlap the 1px header/web-contents separator at the |
| - // bottom of the header. |
| - EXPECT_EQ(browser_view()->frame()->GetTopInset() - 1, |
| + // bottom of the header or be a few pixels higher still with Material Design. |
|
tdanderson
2015/10/09 18:12:09
nit: I don't think changing the comment here is ne
varkha
2015/10/09 18:20:35
Done.
|
| + EXPECT_EQ(browser_view()->frame()->GetTopInset() - |
| + GetLayoutConstant(FIND_BAR_VERTICAL_OFFSET), |
| browser_view()->GetFindBarBoundingBox().y()); |
| } |