Index: Source/core/events/EventTarget.h |
diff --git a/Source/core/events/EventTarget.h b/Source/core/events/EventTarget.h |
index 75fc4d20f138609f87464dc3e7f870af27098287..1b55783d64eb5d968d4cfa6d30ef7ff690694e99 100644 |
--- a/Source/core/events/EventTarget.h |
+++ b/Source/core/events/EventTarget.h |
@@ -89,6 +89,8 @@ public: |
// FIXME: first 2 args to addEventListener and removeEventListener should |
// be required (per spec), but throwing TypeError breaks legacy content. |
// http://crbug.com/353484 |
+ // FIXME: default values should be specified in IDL, not C++ |
+ // http://crbug.com/258153 |
bool addEventListener() { return false; } |
bool addEventListener(const AtomicString& eventType) { return false; } |
virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture = false); |