summaryrefslogtreecommitdiffstats
path: root/chromium/ppapi/examples/file_chooser/file_chooser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ppapi/examples/file_chooser/file_chooser.cc')
-rw-r--r--chromium/ppapi/examples/file_chooser/file_chooser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/ppapi/examples/file_chooser/file_chooser.cc b/chromium/ppapi/examples/file_chooser/file_chooser.cc
index fd207fea779..f220dd8b294 100644
--- a/chromium/ppapi/examples/file_chooser/file_chooser.cc
+++ b/chromium/ppapi/examples/file_chooser/file_chooser.cc
@@ -46,7 +46,7 @@ class MyInstance : public pp::InstancePrivate {
PP_FileChooserMode_Dev mode =
(multi_select ? PP_FILECHOOSERMODE_OPENMULTIPLE
: PP_FILECHOOSERMODE_OPEN);
- std::string accept_types = (multi_select ? "" : "plain/text");
+ std::string accept_types = (multi_select ? "" : "text/plain");
chooser_ = pp::FileChooser_Dev(this, mode, accept_types);
chooser_.Show(callback_factory_.NewCallbackWithOutput(