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

Unified Diff: chrome/browser/ui/tab_contents/tab_contents_iterator_unittest.cc

Issue 11741003: Remove PrefServiceSimple, replacing it with PrefService and PrefRegistrySimple. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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/tab_contents/tab_contents_iterator_unittest.cc
diff --git a/chrome/browser/ui/tab_contents/tab_contents_iterator_unittest.cc b/chrome/browser/ui/tab_contents/tab_contents_iterator_unittest.cc
index 634bdbed28f681727be8ab1e461c0b3c374ab60d..975a1fe81e05ad5d07ece0e7c98fa7a11787d5fe 100644
--- a/chrome/browser/ui/tab_contents/tab_contents_iterator_unittest.cc
+++ b/chrome/browser/ui/tab_contents/tab_contents_iterator_unittest.cc
@@ -149,9 +149,11 @@ TEST_F(BrowserListTest, TabContentsIteratorVerifyBrowser) {
TEST_F(BrowserListTest, MAYBE_AttemptRestart) {
ASSERT_TRUE(g_browser_process);
TestingPrefServiceSimple testing_pref_service;
- testing_pref_service.RegisterBooleanPref(prefs::kWasRestarted, false);
- testing_pref_service.RegisterBooleanPref(prefs::kRestartLastSessionOnShutdown,
- false);
+ testing_pref_service.registrar()->RegisterBooleanPref(
+ prefs::kWasRestarted, false);
+ testing_pref_service.registrar()->RegisterBooleanPref(
+ prefs::kRestartLastSessionOnShutdown,
+ false);
TestingBrowserProcess* testing_browser_process =
static_cast<TestingBrowserProcess*>(g_browser_process);

Powered by Google App Engine
This is Rietveld 408576698