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 23f3e7d5c3729d30845e642595e357f8177dc022..1d31c65acaf6556e982ed6458e1b0a10879245b1 100644 |
--- a/chrome/browser/ui/views/frame/browser_view_unittest.cc |
+++ b/chrome/browser/ui/views/frame/browser_view_unittest.cc |
@@ -193,7 +193,7 @@ TEST_F(BrowserViewHostedAppTest, Layout) { |
// The position of the bottom of the header (the bar with the window |
// controls) in the coordinates of BrowserView. |
- int bottom_of_header = browser_view()->frame()->GetTopInset() - |
+ int bottom_of_header = browser_view()->frame()->GetTopInset(false) - |
header_offset.y(); |
// The web contents should be flush with the bottom of the header. |
@@ -202,5 +202,5 @@ TEST_F(BrowserViewHostedAppTest, Layout) { |
// The find bar should overlap the 1px header/web-contents separator at the |
// bottom of the header. |
EXPECT_LT(browser_view()->GetFindBarBoundingBox().y(), |
- browser_view()->frame()->GetTopInset()); |
+ browser_view()->frame()->GetTopInset(false)); |
} |