| Index: third_party/WebKit/Source/core/events/CustomEvent.cpp
|
| diff --git a/third_party/WebKit/Source/core/events/CustomEvent.cpp b/third_party/WebKit/Source/core/events/CustomEvent.cpp
|
| index 4c66fd291e8156b48235e6590ad88598fab7e707..ed239003a8f789c508ae63d3baba1507a6cba712 100644
|
| --- a/third_party/WebKit/Source/core/events/CustomEvent.cpp
|
| +++ b/third_party/WebKit/Source/core/events/CustomEvent.cpp
|
| @@ -50,7 +50,7 @@ void CustomEvent::initCustomEvent(const AtomicString& type, bool canBubble, bool
|
|
|
| void CustomEvent::initCustomEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<SerializedScriptValue> serializedDetail)
|
| {
|
| - if (dispatched())
|
| + if (isBeingDispatched())
|
| return;
|
|
|
| initEvent(type, canBubble, cancelable);
|
|
|