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

Unified Diff: Source/core/dom/Clipboard.h

Issue 26023003: Get rid of custom code for clipboard.clearData() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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
Index: Source/core/dom/Clipboard.h
diff --git a/Source/core/dom/Clipboard.h b/Source/core/dom/Clipboard.h
index d2ade77c4636f9a56057fe17a563c54613ecdf16..6031d3b2abe04a9470b4cf1122d9261e8e4462f2 100644
--- a/Source/core/dom/Clipboard.h
+++ b/Source/core/dom/Clipboard.h
@@ -67,8 +67,7 @@ public:
String effectAllowed() const { return m_effectAllowed; }
void setEffectAllowed(const String&);
- void clearData(const String& type);
- void clearAllData();
+ void clearData(const String& type = String());
String getData(const String& type) const;
bool setData(const String& type, const String& data);

Powered by Google App Engine
This is Rietveld 408576698