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

Unified Diff: Source/WebCore/platform/mac/ClipboardMac.mm

Issue 11370004: Revert 123677 - Merge 123495 - Files from drag and file <input> should use getMIMETypeForExtension … (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 1 month 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/platform/gtk/ClipboardGtk.cpp ('k') | Source/WebCore/platform/qt/ClipboardQt.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/mac/ClipboardMac.mm
===================================================================
--- Source/WebCore/platform/mac/ClipboardMac.mm (revision 133651)
+++ Source/WebCore/platform/mac/ClipboardMac.mm (working copy)
@@ -321,7 +321,7 @@
for (size_t i = 0; i < absoluteURLs.size(); i++) {
NSURL *absoluteURL = [NSURL URLWithString:absoluteURLs[i]];
ASSERT([absoluteURL isFileURL]);
- fileList->append(File::create([absoluteURL path], File::AllContentTypes));
+ fileList->append(File::create([absoluteURL path]));
}
return fileList.release(); // We will always return a FileList, sometimes empty
}
« no previous file with comments | « Source/WebCore/platform/gtk/ClipboardGtk.cpp ('k') | Source/WebCore/platform/qt/ClipboardQt.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698