Title: [106018] trunk/Source/WebCore
- Revision
- 106018
- Author
- dch...@chromium.org
- Date
- 2012-01-26 11:23:42 -0800 (Thu, 26 Jan 2012)
Log Message
Revert code changes from r105800
https://bugs.webkit.org/show_bug.cgi?id=77071
The strings are already lowercased in EventHandler.cpp:findDropZone() so there's
no need to call lower() again.
Reviewed by Tony Chang.
Covered by existing tests.
* dom/Clipboard.cpp:
(WebCore::Clipboard::hasDropZoneType):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (106017 => 106018)
--- trunk/Source/WebCore/ChangeLog 2012-01-26 19:20:27 UTC (rev 106017)
+++ trunk/Source/WebCore/ChangeLog 2012-01-26 19:23:42 UTC (rev 106018)
@@ -1,3 +1,18 @@
+2012-01-26 Daniel Cheng <dch...@chromium.org>
+
+ Revert code changes from r105800
+ https://bugs.webkit.org/show_bug.cgi?id=77071
+
+ The strings are already lowercased in EventHandler.cpp:findDropZone() so there's
+ no need to call lower() again.
+
+ Reviewed by Tony Chang.
+
+ Covered by existing tests.
+
+ * dom/Clipboard.cpp:
+ (WebCore::Clipboard::hasDropZoneType):
+
2012-01-26 Stephen Chenney <schen...@chromium.org>
REGRESSION (r91125): Polyline tool in google docs is broken
Modified: trunk/Source/WebCore/dom/Clipboard.cpp (106017 => 106018)
--- trunk/Source/WebCore/dom/Clipboard.cpp 2012-01-26 19:20:27 UTC (rev 106017)
+++ trunk/Source/WebCore/dom/Clipboard.cpp 2012-01-26 19:23:42 UTC (rev 106018)
@@ -211,10 +211,10 @@
bool Clipboard::hasDropZoneType(const String& keyword)
{
if (keyword.startsWith("file:"))
- return hasFileOfType(keyword.substring(5).lower());
+ return hasFileOfType(keyword.substring(5));
if (keyword.startsWith("string:"))
- return hasStringOfType(keyword.substring(7).lower());
+ return hasStringOfType(keyword.substring(7));
return false;
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes