Index: ppapi/thunk/ppb_file_chooser_thunk.cc |
diff --git a/ppapi/thunk/ppb_file_chooser_thunk.cc b/ppapi/thunk/ppb_file_chooser_thunk.cc |
index 083ffb87e9f8a7f9e85207ea51614e65671d9926..8db1b501966998701543209a98ad5e1cbe9b9038 100644 |
--- a/ppapi/thunk/ppb_file_chooser_thunk.cc |
+++ b/ppapi/thunk/ppb_file_chooser_thunk.cc |
@@ -19,12 +19,12 @@ namespace { |
PP_Resource Create(PP_Instance instance, |
PP_FileChooserMode_Dev mode, |
- struct PP_Var accept_mime_types) { |
+ struct PP_Var accept_types) { |
EnterResourceCreation enter(instance); |
if (enter.failed()) |
return 0; |
scoped_refptr<StringVar> string_var = |
- StringVar::FromPPVar(accept_mime_types); |
+ StringVar::FromPPVar(accept_types); |
std::string str = string_var ? string_var->value() : std::string(); |
return enter.functions()->CreateFileChooser(instance, mode, str.c_str()); |
} |