| Index: Source/core/events/Event.h
|
| diff --git a/Source/core/events/Event.h b/Source/core/events/Event.h
|
| index 3a0a66575a36dcf4d0b25d4f885d5f38900a1149..6242b0b67a6a3448137d54d82abe4500354dd832 100644
|
| --- a/Source/core/events/Event.h
|
| +++ b/Source/core/events/Event.h
|
| @@ -27,7 +27,7 @@
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "core/CoreExport.h"
|
| #include "core/dom/DOMTimeStamp.h"
|
| -#include "core/events/EventInitDictionary.h"
|
| +#include "core/events/EventInit.h"
|
| #include "core/events/EventPath.h"
|
| #include "platform/heap/Handle.h"
|
| #include "wtf/RefCounted.h"
|
| @@ -38,15 +38,6 @@ namespace blink {
|
| class EventTarget;
|
| class ExecutionContext;
|
|
|
| -struct EventInit {
|
| - STACK_ALLOCATED();
|
| -public:
|
| - EventInit();
|
| -
|
| - bool bubbles;
|
| - bool cancelable;
|
| -};
|
| -
|
| class CORE_EXPORT Event : public RefCountedWillBeGarbageCollectedFinalized<Event>, public ScriptWrappable {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| @@ -107,15 +98,10 @@ public:
|
| return adoptRefWillBeNoop(new Event(type, true, true));
|
| }
|
|
|
| - // TODO(bashi): Remove this when we remove all [EventConstructor].
|
| static PassRefPtrWillBeRawPtr<Event> create(const AtomicString& type, const EventInit& initializer)
|
| {
|
| return adoptRefWillBeNoop(new Event(type, initializer));
|
| }
|
| - static PassRefPtrWillBeRawPtr<Event> create(const AtomicString& type, const EventInitDictionary& initializer)
|
| - {
|
| - return adoptRefWillBeNoop(new Event(type, initializer));
|
| - }
|
|
|
| virtual ~Event();
|
|
|
| @@ -205,7 +191,6 @@ protected:
|
| Event();
|
| Event(const AtomicString& type, bool canBubble, bool cancelable);
|
| Event(const AtomicString& type, const EventInit&);
|
| - Event(const AtomicString& type, const EventInitDictionary&);
|
|
|
| virtual void receivedTarget();
|
| bool dispatched() const { return m_target; }
|
|
|