Index: chrome/browser/file_select_helper.cc |
diff --git a/chrome/browser/file_select_helper.cc b/chrome/browser/file_select_helper.cc |
index a6019952d1a5f6e0d993fccd3368fd772c59a102..11256dd9bc5571e1a0a7af58c8c2a2fe7201ab3f 100644 |
--- a/chrome/browser/file_select_helper.cc |
+++ b/chrome/browser/file_select_helper.cc |
@@ -595,8 +595,8 @@ void FileSelectHelper::RunFileChooserOnUIThread( |
#if defined(OS_ANDROID) |
// Android needs the original MIME types and an additional capture value. |
- std::pair<std::vector<base::string16>, bool> accept_types = |
- std::make_pair(params->accept_types, params->capture); |
+ std::vector<base::string16> accept_types(params->accept_types); |
+ accept_types.push_back(params->capture); |
#endif |
select_file_dialog_->SelectFile( |