Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index e26b07aa067c142dc375594db1b5e759db8e51b9..1b4a94303e898a0c875704172c5f48a3cfc05a99 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -1910,9 +1910,9 @@ bool RenderViewImpl::runFileChooser( |
ipc_params.title = params.title; |
ipc_params.default_file_name = |
webkit_glue::WebStringToFilePath(params.initialValue); |
- ipc_params.accept_types.reserve(params.acceptMIMETypes.size()); |
- for (size_t i = 0; i < params.acceptMIMETypes.size(); ++i) |
- ipc_params.accept_types.push_back(params.acceptMIMETypes[i]); |
+ ipc_params.accept_types.reserve(params.acceptTypes.size()); |
+ for (size_t i = 0; i < params.acceptTypes.size(); ++i) |
+ ipc_params.accept_types.push_back(params.acceptTypes[i]); |
return ScheduleFileChooser(ipc_params, chooser_completion); |
} |