Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(515)

Unified Diff: Source/core/clipboard/DataObject.cpp

Issue 241643006: Remove more dead code from core/ folder (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/clipboard/DataObject.h ('k') | Source/core/frame/DOMWindow.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/clipboard/DataObject.cpp
diff --git a/Source/core/clipboard/DataObject.cpp b/Source/core/clipboard/DataObject.cpp
index e904f89d9e290fbae463d49d80b37014efd1c28e..671af3d4e627cfc13ec626139551c90a8b6c8cd8 100644
--- a/Source/core/clipboard/DataObject.cpp
+++ b/Source/core/clipboard/DataObject.cpp
@@ -124,17 +124,6 @@ void DataObject::clearData(const String& type)
}
}
-void DataObject::clearAllExceptFiles()
-{
- for (size_t i = 0; i < m_itemList.size(); ) {
- if (m_itemList[i]->kind() != DataObjectItem::FileKind) {
- m_itemList.remove(i);
- continue;
- }
- ++i;
- }
-}
-
ListHashSet<String> DataObject::types() const
{
ListHashSet<String> results;
« no previous file with comments | « Source/core/clipboard/DataObject.h ('k') | Source/core/frame/DOMWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698