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

Unified Diff: chrome/browser/dom_ui/shown_sections_handler_unittest.cc

Issue 5915004: Introduce incognito preference settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Whitespaces + fixes for trybot Created 10 years 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/dom_ui/shown_sections_handler_unittest.cc
diff --git a/chrome/browser/dom_ui/shown_sections_handler_unittest.cc b/chrome/browser/dom_ui/shown_sections_handler_unittest.cc
index 7ca56318cf4f9a803b5fb35943b9d73aa196f11d..12a91b7caf0c7d918bb7affcf5dafa6c428ef4ee 100644
--- a/chrome/browser/dom_ui/shown_sections_handler_unittest.cc
+++ b/chrome/browser/dom_ui/shown_sections_handler_unittest.cc
@@ -25,7 +25,7 @@ int MigratePrefValue(PrefService* prefs, int starting_value) {
} // namespace
TEST_F(ShownSectionsHandlerTest, MigrateUserPrefs) {
- scoped_ptr<PrefService> pref(new TestingPrefService);
+ scoped_ptr<PrefService> pref(TestingPrefService::CreateTestingPrefService());
pref->RegisterIntegerPref(prefs::kNTPShownSections, 0);

Powered by Google App Engine
This is Rietveld 408576698