Title: [97997] trunk/Source/WebCore
Revision
97997
Author
joep...@webkit.org
Date
2011-10-20 10:33:40 -0700 (Thu, 20 Oct 2011)

Log Message

Remove Now Unused FileChooserSettings.deprecatedAcceptTypes
https://bugs.webkit.org/show_bug.cgi?id=70473

Reviewed by Dan Bernstein.

* html/FileInputType.cpp:
(WebCore::FileInputType::handleDOMActivateEvent):
(WebCore::FileInputType::receiveDropForDirectoryUpload):
* platform/FileChooser.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (97996 => 97997)


--- trunk/Source/WebCore/ChangeLog	2011-10-20 17:23:05 UTC (rev 97996)
+++ trunk/Source/WebCore/ChangeLog	2011-10-20 17:33:40 UTC (rev 97997)
@@ -1,3 +1,15 @@
+2011-10-20  Joseph Pecoraro  <joep...@webkit.org>
+
+        Remove Now Unused FileChooserSettings.deprecatedAcceptTypes
+        https://bugs.webkit.org/show_bug.cgi?id=70473
+
+        Reviewed by Dan Bernstein.
+
+        * html/FileInputType.cpp:
+        (WebCore::FileInputType::handleDOMActivateEvent):
+        (WebCore::FileInputType::receiveDropForDirectoryUpload):
+        * platform/FileChooser.h:
+
 2011-10-20  Andreas Kling  <kl...@webkit.org>
 
         Simplify CSSParser::document().

Modified: trunk/Source/WebCore/html/FileInputType.cpp (97996 => 97997)


--- trunk/Source/WebCore/html/FileInputType.cpp	2011-10-20 17:23:05 UTC (rev 97996)
+++ trunk/Source/WebCore/html/FileInputType.cpp	2011-10-20 17:33:40 UTC (rev 97997)
@@ -153,7 +153,6 @@
 #else
         settings.allowsMultipleFiles = input->fastHasAttribute(multipleAttr);
 #endif
-        settings.deprecatedAcceptTypes = input->accept();
         settings.acceptMIMETypes = input->acceptMIMETypes();
         settings.selectedFiles = m_fileList->paths();
         chrome->runOpenPanel(input->document()->frame(), newFileChooser(settings));
@@ -329,7 +328,6 @@
         settings.allowsDirectoryUpload = true;
         settings.allowsMultipleFiles = true;
         settings.selectedFiles.append(paths[0]);
-        settings.deprecatedAcceptTypes = input->accept();
         settings.acceptMIMETypes = input->acceptMIMETypes();
         chrome->enumerateChosenDirectory(newFileChooser(settings));
     }

Modified: trunk/Source/WebCore/platform/FileChooser.h (97996 => 97997)


--- trunk/Source/WebCore/platform/FileChooser.h	2011-10-20 17:23:05 UTC (rev 97996)
+++ trunk/Source/WebCore/platform/FileChooser.h	2011-10-20 17:33:40 UTC (rev 97997)
@@ -42,7 +42,6 @@
 #if ENABLE(DIRECTORY_UPLOAD)
     bool allowsDirectoryUpload;
 #endif
-    String deprecatedAcceptTypes;
     Vector<String> acceptMIMETypes;
     Vector<String> selectedFiles;
 };
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to