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(); |
} |