Index: chrome/browser/extensions/api/file_system/file_system_api.cc |
diff --git a/chrome/browser/extensions/api/file_system/file_system_api.cc b/chrome/browser/extensions/api/file_system/file_system_api.cc |
index b997ee13cf3e2eab4c48cf56a058d581d4f37b5d..a656000415416e0c2bf98f7d3964dfd9c6006129 100644 |
--- a/chrome/browser/extensions/api/file_system/file_system_api.cc |
+++ b/chrome/browser/extensions/api/file_system/file_system_api.cc |
@@ -1063,7 +1063,7 @@ bool FileSystemChooseEntryFunction::RunAsync() { |
file_system::ChooseEntryOptions* options = params->options.get(); |
if (options) { |
- multiple_ = options->accepts_multiple; |
+ multiple_ = !!options->accepts_multiple; |
if (multiple_) |
picker_type = ui::SelectFileDialog::SELECT_OPEN_MULTI_FILE; |