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

Unified Diff: chrome/browser/dom_ui/new_tab_ui_uitest.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/new_tab_ui_uitest.cc
diff --git a/chrome/browser/dom_ui/new_tab_ui_uitest.cc b/chrome/browser/dom_ui/new_tab_ui_uitest.cc
index 51d2b05133a9ff279441c1661c07b04590dad499..a864c7aae594aea8254a75c612386b4487999f4f 100644
--- a/chrome/browser/dom_ui/new_tab_ui_uitest.cc
+++ b/chrome/browser/dom_ui/new_tab_ui_uitest.cc
@@ -131,7 +131,7 @@ TEST_F(NewTabUITest, FLAKY_ChromeInternalLoadsNTP) {
// Flaky on XP bots: http://crbug.com/51726
TEST_F(NewTabUITest, FLAKY_UpdateUserPrefsVersion) {
// PrefService with JSON user-pref file only, no enforced or advised prefs.
- scoped_ptr<PrefService> prefs(new TestingPrefService);
+ scoped_ptr<PrefService> prefs(TestingPrefService::CreateTestingPrefService());
// Does the migration
NewTabUI::RegisterUserPrefs(prefs.get());

Powered by Google App Engine
This is Rietveld 408576698