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

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

Issue 10956034: Switching from ForXyz naming to FromXyz naming, for consistency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head 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
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 2ec31983642efbb19c282f06fb14596154f93e75..408a9750009bf2b679a5628354fb0bcb4636d360 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::ForContext(browser()->profile()));
+ PrefServiceBase::FromBrowserContext(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/sync/profile_sync_service_factory.cc ('k') | chrome/browser/webdata/web_data_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698