Index: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc |
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc |
index de79e613486089da026d273c047cd5ec4a4b2a4f..a03a3816582a55cad43661f9f2ef8df951b86dce 100644 |
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc |
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc |
@@ -440,8 +440,8 @@ bool BrowserNonClientFrameViewAsh::DoesIntersectRect( |
int BrowserNonClientFrameViewAsh::GetTabStripLeftInset() const { |
const gfx::Insets insets(GetLayoutInsets(AVATAR_ICON)); |
const int avatar_right = profile_indicator_icon() |
- ? (insets.left() + GetOTRAvatarIcon().width()) |
- : 0; |
+ ? (insets.left() + GetIncognitoAvatarIcon().width()) |
+ : 0; |
return avatar_right + insets.right(); |
} |
@@ -478,7 +478,7 @@ void BrowserNonClientFrameViewAsh::LayoutProfileIndicatorIcon() { |
DCHECK(browser_view()->IsTabStripVisible()); |
#endif |
- const gfx::ImageSkia incognito_icon = GetOTRAvatarIcon(); |
+ const gfx::ImageSkia incognito_icon = GetIncognitoAvatarIcon(); |
const gfx::Insets avatar_insets = GetLayoutInsets(AVATAR_ICON); |
const int avatar_bottom = GetTopInset(false) + |
browser_view()->GetTabStripHeight() - avatar_insets.bottom(); |