Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Unified Diff: Source/WebCore/html/FileInputType.cpp

Issue 10821032: Merge 123495 - Files from drag and file <input> should use getMIMETypeForExtension to determine con… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/fileapi/File.cpp ('k') | Source/WebCore/platform/chromium/ChromiumDataObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/html/FileInputType.cpp
===================================================================
--- Source/WebCore/html/FileInputType.cpp (revision 123676)
+++ Source/WebCore/html/FileInputType.cpp (working copy)
@@ -287,7 +287,7 @@
#endif
for (size_t i = 0; i < size; i++)
- fileList->append(File::createWithName(files[i].path, files[i].displayName));
+ fileList->append(File::createWithName(files[i].path, files[i].displayName, File::AllContentTypes));
return fileList;
}
« no previous file with comments | « Source/WebCore/fileapi/File.cpp ('k') | Source/WebCore/platform/chromium/ChromiumDataObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698