Index: third_party/WebKit/Source/core/clipboard/DataTransfer.cpp |
diff --git a/third_party/WebKit/Source/core/clipboard/DataTransfer.cpp b/third_party/WebKit/Source/core/clipboard/DataTransfer.cpp |
index e070597ef46c0f327e56fdd9ba30fd8d2599a628..995b8928c55ddb3e51d549369e5a8f461ba2312f 100644 |
--- a/third_party/WebKit/Source/core/clipboard/DataTransfer.cpp |
+++ b/third_party/WebKit/Source/core/clipboard/DataTransfer.cpp |
@@ -189,9 +189,7 @@ Vector<String> DataTransfer::types() const |
if (!canReadTypes()) |
return types; |
- ListHashSet<String> typesSet = m_dataObject->types(); |
- types.appendRange(typesSet.begin(), typesSet.end()); |
- return types; |
+ return m_dataObject->types(); |
} |
FileList* DataTransfer::files() const |