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

Unified Diff: chrome/browser/ui/webui/options/preferences_browsertest.cc

Issue 10919066: Use BrowserContext as key in API. Switch Autofill to use BC in place of Profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to parent Created 8 years, 3 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 | « chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/preferences_browsertest.cc
diff --git a/chrome/browser/ui/webui/options/preferences_browsertest.cc b/chrome/browser/ui/webui/options/preferences_browsertest.cc
index 76c81076eb6ef12e5b5210edc7ab87394dd78484..4f0427fdcbd980ad832c3f159d82ee14adbd747e 100644
--- a/chrome/browser/ui/webui/options/preferences_browsertest.cc
+++ b/chrome/browser/ui/webui/options/preferences_browsertest.cc
@@ -78,7 +78,7 @@ void PreferencesBrowserTest::SetUpOnMainThread() {
render_view_host_ = web_contents->GetRenderViewHost();
ASSERT_TRUE(render_view_host_);
pref_change_registrar_.Init(
- PrefServiceBase::ForProfile(browser()->profile()));
+ PrefServiceBase::ForContext(browser()->profile()));
pref_service_ = browser()->profile()->GetPrefs();
ASSERT_TRUE(content::ExecuteJavaScript(render_view_host_, L"",
L"function TestEnv() {"
« no previous file with comments | « chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698