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

Unified Diff: chrome/browser/extensions/extension_tabs_module.cc

Issue 7464009: Removal of Profile from content part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: works now Created 9 years, 5 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
Index: chrome/browser/extensions/extension_tabs_module.cc
diff --git a/chrome/browser/extensions/extension_tabs_module.cc b/chrome/browser/extensions/extension_tabs_module.cc
index e1f0361f9613707013dfe29e450c39922ac6d774..601f5eae03cf72620bffe9f56e8178c89c43f8a2 100644
--- a/chrome/browser/extensions/extension_tabs_module.cc
+++ b/chrome/browser/extensions/extension_tabs_module.cc
@@ -199,7 +199,7 @@ DictionaryValue* ExtensionTabUtil::CreateTabValue(const TabContents* contents,
tab_strip && tab_strip->IsTabPinned(tab_index));
result->SetString(keys::kTitleKey, contents->GetTitle());
result->SetBoolean(keys::kIncognitoKey,
- contents->profile()->IsOffTheRecord());
+ contents->context()->IsOffTheRecord());
if (!contents->is_loading()) {
NavigationEntry* entry = contents->controller().GetActiveEntry();

Powered by Google App Engine
This is Rietveld 408576698