Chromium Code Reviews| Index: Source/core/dom/CustomEvent.cpp |
| diff --git a/Source/core/dom/CustomEvent.cpp b/Source/core/dom/CustomEvent.cpp |
| index c7e67b3eb97a9e9f44106767f0457f359c2fa9ab..bad25d2fe2c0055d8a6d4d28431ff7fc8900c39c 100644 |
| --- a/Source/core/dom/CustomEvent.cpp |
| +++ b/Source/core/dom/CustomEvent.cpp |
| @@ -30,10 +30,6 @@ |
| namespace WebCore { |
| -CustomEventInit::CustomEventInit() |
| -{ |
| -} |
|
haraken
2013/06/27 04:50:27
Ditto. We might not want to remove this.
jww
2013/06/27 17:44:42
Same response applies as to the CurrentEventInit r
|
| - |
| CustomEvent::CustomEvent() |
| { |
| ScriptWrappable::init(this); |
| @@ -41,7 +37,6 @@ CustomEvent::CustomEvent() |
| CustomEvent::CustomEvent(const AtomicString& type, const CustomEventInit& initializer) |
| : Event(type, initializer) |
| - , m_detail(initializer.detail) |
| { |
| ScriptWrappable::init(this); |
| } |
| @@ -50,20 +45,8 @@ CustomEvent::~CustomEvent() |
| { |
| } |
| -void CustomEvent::initCustomEvent(const AtomicString& type, bool canBubble, bool cancelable, const ScriptValue& detail) |
| -{ |
| - ASSERT(!m_serializedScriptValue.get()); |
| - if (dispatched()) |
| - return; |
| - |
| - initEvent(type, canBubble, cancelable); |
| - |
| - m_detail = detail; |
| -} |
| - |
| void CustomEvent::initCustomEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<SerializedScriptValue> serializedScriptValue) |
| { |
| - ASSERT(m_detail.hasNoValue()); |
| if (dispatched()) |
| return; |