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

Unified Diff: chrome/browser/chrome_quota_permission_context.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/chrome_quota_permission_context.cc
diff --git a/chrome/browser/chrome_quota_permission_context.cc b/chrome/browser/chrome_quota_permission_context.cc
index cb460175ba14aceff453d9777396a435e9c778c4..93efece51acd674a685495c8a07062467121b147 100644
--- a/chrome/browser/chrome_quota_permission_context.cc
+++ b/chrome/browser/chrome_quota_permission_context.cc
@@ -145,7 +145,7 @@ void ChromeQuotaPermissionContext::RequestQuotaPermission(
wrapper->AddInfoBar(new RequestQuotaInfoBarDelegate(
tab_contents, this,
origin_url, requested_quota,
- tab_contents->profile()->GetPrefs()->GetString(prefs::kAcceptLanguages),
+ wrapper->profile()->GetPrefs()->GetString(prefs::kAcceptLanguages),
callback.release()));
}

Powered by Google App Engine
This is Rietveld 408576698