Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Unified Diff: chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc

Issue 1845813002: Suspected fix for a tab image caching bug. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simpler comment Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/views/tabs/tab_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
diff --git a/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc b/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
index 0ee2eaecea2ac3c70d979b4c4edcd498f7fed09a..2f6c85f8f8f4b631dc364a34a1bd1e4a7d1a319d 100644
--- a/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
+++ b/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
@@ -374,7 +374,7 @@ void BrowserTabStripController::CreateNewTabWithLocation(
}
bool BrowserTabStripController::IsIncognito() {
- return browser_->profile()->IsOffTheRecord();
+ return browser_->profile()->GetProfileType() == Profile::INCOGNITO_PROFILE;
}
void BrowserTabStripController::StackedLayoutMaybeChanged() {
« no previous file with comments | « no previous file | chrome/browser/ui/views/tabs/tab_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698