| Index: Source/core/dom/CustomEvent.cpp
|
| diff --git a/Source/core/dom/CustomEvent.cpp b/Source/core/dom/CustomEvent.cpp
|
| index c7e67b3eb97a9e9f44106767f0457f359c2fa9ab..b545d1b844835a1d12d0b776941497d91e2cf0dd 100644
|
| --- a/Source/core/dom/CustomEvent.cpp
|
| +++ b/Source/core/dom/CustomEvent.cpp
|
| @@ -41,7 +41,7 @@ CustomEvent::CustomEvent()
|
|
|
| CustomEvent::CustomEvent(const AtomicString& type, const CustomEventInit& initializer)
|
| : Event(type, initializer)
|
| - , m_detail(initializer.detail)
|
| + , m_detailIsSet(initializer.detailIsSet)
|
| {
|
| ScriptWrappable::init(this);
|
| }
|
| @@ -50,20 +50,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;
|
|
|
|
|