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

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: browser_context 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 c546adfc351de50d09d9b4f9b081f80c81eb8c43..a1f0d230e1e705ff9cc40d6a8647fa27cef34a72 100644
--- a/chrome/browser/extensions/extension_tabs_module.cc
+++ b/chrome/browser/extensions/extension_tabs_module.cc
@@ -200,7 +200,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->browser_context()->IsOffTheRecord());
if (!is_loading) {
NavigationEntry* entry = contents->controller().GetActiveEntry();

Powered by Google App Engine
This is Rietveld 408576698