Index: ppapi/proxy/file_chooser_resource.cc |
diff --git a/ppapi/proxy/file_chooser_resource.cc b/ppapi/proxy/file_chooser_resource.cc |
index 324f11b207f8897589233361806b3fc842aacd3e..9f949c0f4a863e1ddebfc4cd559dbef4bbf1469e 100644 |
--- a/ppapi/proxy/file_chooser_resource.cc |
+++ b/ppapi/proxy/file_chooser_resource.cc |
@@ -93,8 +93,7 @@ void FileChooserResource::PopulateAcceptTypes( |
continue; |
if (type.find_first_of('/') == std::string::npos && type[0] != '.') |
continue; |
- base::StringToLowerASCII(&type); |
- output->push_back(type); |
+ output->push_back(base::ToLowerASCII(type)); |
} |
} |