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

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

Issue 928103002: Remove some unused functions in core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: git cl try Created 5 years, 10 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/DataTransfer.h ('k') | Source/core/css/CSSPropertySourceData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/clipboard/DataTransfer.cpp
diff --git a/Source/core/clipboard/DataTransfer.cpp b/Source/core/clipboard/DataTransfer.cpp
index 5246af905da7d553f6d106c9b4d44be2ca19f09e..e81d8c786b4bd9e8b3aae141eada384c5bdb6bf0 100644
--- a/Source/core/clipboard/DataTransfer.cpp
+++ b/Source/core/clipboard/DataTransfer.cpp
@@ -379,13 +379,6 @@ void DataTransfer::writePlainText(const String& text)
m_dataObject->setData(mimeTypeTextPlain, str);
}
-bool DataTransfer::hasData()
-{
- ASSERT(isForDragAndDrop());
-
- return m_dataObject->length() > 0;
-}
-
void DataTransfer::setAccessPolicy(DataTransferAccessPolicy policy)
{
// once you go numb, can never go back
« no previous file with comments | « Source/core/clipboard/DataTransfer.h ('k') | Source/core/css/CSSPropertySourceData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698