Title: [130712] trunk/Source/WebCore
- Revision
- 130712
- Author
- [email protected]
- Date
- 2012-10-08 18:44:55 -0700 (Mon, 08 Oct 2012)
Log Message
REGRESSION(r130643): editing/pasteboard/data-transfer-item is failing on chromium.
<http://webkit.org/b/98686>
Reviewed by Tony Chang.
Change ChromiumDataObject::createFromPasteboard() to use a ListHashSet instead of a HashSet so that
item order is preserved.
* platform/chromium/ChromiumDataObject.cpp:
(WebCore::ChromiumDataObject::createFromPasteboard):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (130711 => 130712)
--- trunk/Source/WebCore/ChangeLog 2012-10-09 01:43:08 UTC (rev 130711)
+++ trunk/Source/WebCore/ChangeLog 2012-10-09 01:44:55 UTC (rev 130712)
@@ -1,3 +1,16 @@
+2012-10-08 Andreas Kling <[email protected]>
+
+ REGRESSION(r130643): editing/pasteboard/data-transfer-item is failing on chromium.
+ <http://webkit.org/b/98686>
+
+ Reviewed by Tony Chang.
+
+ Change ChromiumDataObject::createFromPasteboard() to use a ListHashSet instead of a HashSet so that
+ item order is preserved.
+
+ * platform/chromium/ChromiumDataObject.cpp:
+ (WebCore::ChromiumDataObject::createFromPasteboard):
+
2012-10-08 Eric Seidel <[email protected]>
Inline logicalHeightForRowSizing to shave another 2-3% off robohornet's resizecol.html
Modified: trunk/Source/WebCore/platform/chromium/ChromiumDataObject.cpp (130711 => 130712)
--- trunk/Source/WebCore/platform/chromium/ChromiumDataObject.cpp 2012-10-09 01:43:08 UTC (rev 130711)
+++ trunk/Source/WebCore/platform/chromium/ChromiumDataObject.cpp 2012-10-09 01:44:55 UTC (rev 130712)
@@ -48,10 +48,10 @@
uint64_t sequenceNumber = WebKit::Platform::current()->clipboard()->sequenceNumber(currentPasteboardBuffer());
bool ignored;
WebKit::WebVector<WebKit::WebString> webTypes = WebKit::Platform::current()->clipboard()->readAvailableTypes(currentPasteboardBuffer(), &ignored);
- HashSet<String> types;
+ ListHashSet<String> types;
for (size_t i = 0; i < webTypes.size(); ++i)
types.add(webTypes[i]);
- for (HashSet<String>::const_iterator it = types.begin(); it != types.end(); ++it)
+ for (ListHashSet<String>::const_iterator it = types.begin(); it != types.end(); ++it)
dataObject->m_itemList.append(ChromiumDataObjectItem::createFromPasteboard(*it, sequenceNumber));
return dataObject.release();
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes