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 22ef7d3c058ac68bf2f612f7195339dc46a92fa7..f9c577b8fbf9f219daa1236a4180a414274e69cd 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 |
@@ -531,8 +531,7 @@ void BrowserNonClientFrameViewAsh::PaintContentEdge(gfx::Canvas* canvas) { |
} |
int BrowserNonClientFrameViewAsh::GetThemeFrameImageId() const { |
- bool is_incognito = browser_view()->IsOffTheRecord() && |
- !browser_view()->IsGuestSession(); |
+ bool is_incognito = !browser_view()->IsRegularOrGuestSession(); |
if (browser_view()->IsBrowserTypeNormal()) { |
// Use the standard resource ids to allow users to theme the frames. |
if (ShouldPaintAsActive()) { |