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

Unified Diff: chrome/browser/ui/chrome_select_file_policy_unittest.cc

Issue 2782553004: Move TestingPrefService to use unique_ptr<Value> (Closed)
Patch Set: comments Created 3 years, 9 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/chrome_select_file_policy_unittest.cc
diff --git a/chrome/browser/ui/chrome_select_file_policy_unittest.cc b/chrome/browser/ui/chrome_select_file_policy_unittest.cc
index 7a3fc3117385f4a192716f1c916d524aeefd74f4..e1cce5fb67d829d8310d057403c28caecd281840 100644
--- a/chrome/browser/ui/chrome_select_file_policy_unittest.cc
+++ b/chrome/browser/ui/chrome_select_file_policy_unittest.cc
@@ -99,7 +99,7 @@ TEST_F(ChromeSelectFilePolicyTest, MAYBE_ExpectAsynchronousListenerCall) {
// Disallow file-selection dialogs.
local_state.Get()->SetManagedPref(prefs::kAllowFileSelectionDialogs,
- new base::Value(false));
+ base::MakeUnique<base::Value>(false));
file_selection_user->StartFileSelection();
}

Powered by Google App Engine
This is Rietveld 408576698