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

Unified Diff: chrome/test/base/scoped_testing_local_state.cc

Issue 12324009: Remove PrefService parameter from chrome::RegisterPrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head for commit. Created 7 years, 10 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/signin/signin_manager_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/scoped_testing_local_state.cc
diff --git a/chrome/test/base/scoped_testing_local_state.cc b/chrome/test/base/scoped_testing_local_state.cc
index 2e5f904f439348c5fc319f06b7acd5e4cee5c703..e2915e5589863b05da2eb18cf09fe01675b1dead 100644
--- a/chrome/test/base/scoped_testing_local_state.cc
+++ b/chrome/test/base/scoped_testing_local_state.cc
@@ -11,7 +11,7 @@
ScopedTestingLocalState::ScopedTestingLocalState(
TestingBrowserProcess* browser_process)
: browser_process_(browser_process) {
- chrome::RegisterLocalState(&local_state_, local_state_.registry());
+ chrome::RegisterLocalState(local_state_.registry());
EXPECT_FALSE(browser_process->local_state());
browser_process->SetLocalState(&local_state_);
}
« no previous file with comments | « chrome/browser/signin/signin_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698