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

Unified Diff: Source/core/page/EventHandler.cpp

Issue 415093002: Add a UseCounter for HTMLElement.webkitdropzone (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/html/HTMLElement.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/EventHandler.cpp
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp
index 4649b55db63169389342ac347065c84ee2040c56..b4f31072eaa6af5b1cb784a00604521082f79817 100644
--- a/Source/core/page/EventHandler.cpp
+++ b/Source/core/page/EventHandler.cpp
@@ -1652,6 +1652,8 @@ static bool findDropZone(Node* target, DataTransfer* dataTransfer)
if (dropZoneStr.isEmpty())
continue;
+ UseCounter::count(element->document(), UseCounter::PrefixedHTMLElementDropzone);
+
dropZoneStr = dropZoneStr.lower();
SpaceSplitString keywords(dropZoneStr, false);
« no previous file with comments | « Source/core/html/HTMLElement.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698