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

Unified Diff: Source/core/events/Event.idl

Issue 1215893006: Add UseCounters for init*Event methods that aren't already measured (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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/events/CustomEvent.idl ('k') | Source/core/events/KeyboardEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/Event.idl
diff --git a/Source/core/events/Event.idl b/Source/core/events/Event.idl
index 999b6d5ee65cbf1dfa5e40246e9f917c77dc4ab7..0a40ba6635cb58d72e994a51b97c9802e4ba2847 100644
--- a/Source/core/events/Event.idl
+++ b/Source/core/events/Event.idl
@@ -48,9 +48,9 @@
readonly attribute DOMTimeStamp timeStamp;
// FIXME: initEvent()'s arguments should not be optional.
- void initEvent([Default=Undefined] optional DOMString eventTypeArg,
- [Default=Undefined] optional boolean canBubbleArg,
- [Default=Undefined] optional boolean cancelableArg);
+ [Measure] void initEvent([Default=Undefined] optional DOMString type,
+ [Default=Undefined] optional boolean bubbles,
+ [Default=Undefined] optional boolean cancelable);
// Shadow DOM
// https://w3c.github.io/webcomponents/spec/shadow/#extensions-to-event-interface
« no previous file with comments | « Source/core/events/CustomEvent.idl ('k') | Source/core/events/KeyboardEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698