| Index: Source/core/events/CustomEvent.cpp
|
| diff --git a/Source/core/events/CustomEvent.cpp b/Source/core/events/CustomEvent.cpp
|
| index 44524997b9688015a5bf6600d969388b23f0e47e..8fcd03d7a84f28349e0c0854fae6512336805a93 100644
|
| --- a/Source/core/events/CustomEvent.cpp
|
| +++ b/Source/core/events/CustomEvent.cpp
|
| @@ -37,6 +37,8 @@ CustomEvent::CustomEvent()
|
| CustomEvent::CustomEvent(const AtomicString& type, const CustomEventInit& initializer)
|
| : Event(type, initializer)
|
| {
|
| + if (initializer.hasDetail())
|
| + m_detail = initializer.detail();
|
| }
|
|
|
| CustomEvent::~CustomEvent()
|
|
|