| Index: chrome/browser/ui/views/frame/browser_non_client_frame_view.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view.cc
|
| index 7d886067529b0bac74ff1b05ec8f01e46a9f0de8..98e42f6f43cf99e0c12b93b879e17a008b0dd60b 100644
|
| --- a/chrome/browser/ui/views/frame/browser_non_client_frame_view.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view.cc
|
| @@ -55,7 +55,7 @@ BrowserNonClientFrameView::~BrowserNonClientFrameView() {
|
|
|
| void BrowserNonClientFrameView::OnBrowserViewInitViewsComplete() {}
|
|
|
| -gfx::ImageSkia BrowserNonClientFrameView::GetOTRAvatarIcon() const {
|
| +gfx::ImageSkia BrowserNonClientFrameView::GetIncognitoAvatarIcon() const {
|
| if (!ui::MaterialDesignController::IsModeMaterial())
|
| return *GetThemeProviderForProfile()->GetImageSkiaNamed(IDR_OTR_ICON);
|
| const SkColor icon_color = color_utils::PickContrastingColor(
|
| @@ -170,7 +170,7 @@ void BrowserNonClientFrameView::UpdateProfileIndicatorIcon() {
|
| gfx::Image icon;
|
| const Profile* profile = browser_view()->browser()->profile();
|
| if (profile->GetProfileType() == Profile::INCOGNITO_PROFILE) {
|
| - icon = gfx::Image(GetOTRAvatarIcon());
|
| + icon = gfx::Image(GetIncognitoAvatarIcon());
|
| if (!ui::MaterialDesignController::IsModeMaterial())
|
| profile_indicator_icon_->EnableCanvasFlippingForRTLUI(true);
|
| } else {
|
|
|