| Index: chrome/browser/ui/views/frame/browser_non_client_frame_view_mus.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_mus.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_mus.cc
|
| index 7f9ed6612eec2dca27ea4ada4ffa76e4e3bd71ea..3588277ed448b6a6a9d0636657813d39edfe10d1 100644
|
| --- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_mus.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_mus.cc
|
| @@ -368,6 +368,16 @@ void BrowserNonClientFrameViewMus::UpdateProfileIcons() {
|
| return;
|
| }
|
| #endif
|
| + Browser* browser = browser_view()->browser();
|
| +
|
| + // Similar logic as in BrowserNonClientFrameViewAsh::UpdateProfileIcons (minus
|
| + // the multi-profile part). That is, no profile indicator for non-tabbed and
|
| + // non-app browser window, or regular/guest user browser window.
|
| + if (!browser->is_type_tabbed() && !browser->is_app())
|
| + return;
|
| + if (browser_view()->IsRegularOrGuestSession())
|
| + return;
|
| +
|
| UpdateProfileIndicatorIcon();
|
| }
|
|
|
|
|