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..574c6c6b2fad0524e3c9d487d4286912c3b23bfc 100644 |
| --- a/chrome/browser/ui/views/frame/browser_view_unittest.cc |
| +++ b/chrome/browser/ui/views/frame/browser_view_unittest.cc |
| @@ -201,6 +201,7 @@ TEST_F(BrowserViewHostedAppTest, Layout) { |
| // The find bar should overlap the 1px header/web-contents separator at the |
| // bottom of the header. |
| - EXPECT_EQ(browser_view()->frame()->GetTopInset() - 1, |
| + EXPECT_EQ(browser_view()->frame()->GetTopInset() - |
| + GetLayoutConstant(FIND_BAR_VERTICAL_OFFSET), |
|
Peter Kasting
2015/10/09 22:15:06
I would probably avoid checking this exact value,
varkha
2015/10/13 14:51:13
Done.
|
| browser_view()->GetFindBarBoundingBox().y()); |
| } |