Index: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc |
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc |
index 623cd0a4633c84897cdd4d879818ff2ec1489d35..9faa748f808679c65bb6c41e8d4263e211c07290 100644 |
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc |
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc |
@@ -79,7 +79,7 @@ IN_PROC_BROWSER_TEST_F(BrowserNonClientFrameViewAshTest, |
EXPECT_FALSE(frame_view->ShouldPaint()); |
// The client view abuts top of the window. |
- EXPECT_EQ(0, frame_view->NonClientTopBorderHeight()); |
+ EXPECT_EQ(0, frame_view->GetBoundsForClientView().y()); |
// The frame should be painted again when fullscreen is exited and the caption |
// buttons should be visible. |