Chromium Code Reviews

Unified Diff: Source/WebCore/platform/win/ClipboardWin.cpp

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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « Source/WebCore/platform/qt/ClipboardQt.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/win/ClipboardWin.cpp
===================================================================
--- Source/WebCore/platform/win/ClipboardWin.cpp (revision 133651)
+++ Source/WebCore/platform/win/ClipboardWin.cpp (working copy)
@@ -560,7 +560,7 @@
for (UINT i = 0; i < fileCount; i++) {
if (!DragQueryFileW(hdrop, i, filename, WTF_ARRAY_LENGTH(filename)))
continue;
- files->append(File::create(reinterpret_cast<UChar*>(filename), File::AllContentTypes));
+ files->append(File::create(reinterpret_cast<UChar*>(filename)));
}
GlobalUnlock(medium.hGlobal);
« no previous file with comments | « Source/WebCore/platform/qt/ClipboardQt.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine