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

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

Issue 11299122: chrome/browser/ui: Do not use Value::Create* functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 318e95153aa59da3fee9af78795d6b4df63469a3..03c3e4076ae40d0236dfcd760dfad5d8383f063e 100644
--- a/chrome/browser/ui/chrome_select_file_policy_unittest.cc
+++ b/chrome/browser/ui/chrome_select_file_policy_unittest.cc
@@ -98,9 +98,8 @@ TEST_F(ChromeSelectFilePolicyTest, MAYBE_ExpectAsynchronousListenerCall) {
scoped_ptr<FileSelectionUser> file_selection_user(new FileSelectionUser());
// Disallow file-selection dialogs.
- local_state.Get()->SetManagedPref(
- prefs::kAllowFileSelectionDialogs,
- Value::CreateBooleanValue(false));
+ local_state.Get()->SetManagedPref(prefs::kAllowFileSelectionDialogs,
+ new base::FundamentalValue(false));
file_selection_user->StartFileSelection();
}

Powered by Google App Engine
This is Rietveld 408576698