diff options
| author | Konstantin Tokarev <annulen@yandex.ru> | 2020-02-26 04:40:09 +0300 |
|---|---|---|
| committer | Konstantin Tokarev <annulen@yandex.ru> | 2020-02-26 04:41:40 +0300 |
| commit | 8d9e85b5baf784727ecefaecda68716e03ec884e (patch) | |
| tree | 37785846b69c9f0b8361175c413e07dc3f542a2f /Source/WebCore/dom/CustomEvent.cpp | |
| parent | cd875b317ba9ef63f946d2a07b7e67c1e05f93ac (diff) | |
| download | qtwebkit-8d9e85b5baf784727ecefaecda68716e03ec884e.tar.gz | |
Import QtWebKit commit bf94215feb57ddf9ce364bc6953eec8cd1387c3d
Change-Id: Ifc9d2e79e39fbfdd21bd40ede609c7696d2efe62
Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
Diffstat (limited to 'Source/WebCore/dom/CustomEvent.cpp')
| -rw-r--r-- | Source/WebCore/dom/CustomEvent.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/dom/CustomEvent.cpp b/Source/WebCore/dom/CustomEvent.cpp index 495b5ab4b..fa1bc745d 100644 --- a/Source/WebCore/dom/CustomEvent.cpp +++ b/Source/WebCore/dom/CustomEvent.cpp @@ -45,7 +45,7 @@ CustomEvent::~CustomEvent() { } -void CustomEvent::initCustomEvent(const AtomicString& type, bool canBubble, bool cancelable, const Deprecated::ScriptValue& detail) +void CustomEvent::initCustomEvent(const AtomicString& type, bool canBubble, bool cancelable, JSC::JSValue detail) { if (dispatched()) return; @@ -60,7 +60,7 @@ void CustomEvent::initCustomEvent(const AtomicString& type, bool canBubble, bool RefPtr<SerializedScriptValue> CustomEvent::trySerializeDetail(JSC::ExecState* exec) { if (!m_serializedDetail && !m_triedToSerialize) { - m_serializedDetail = SerializedScriptValue::create(exec, m_detail.jsValue(), nullptr, nullptr, NonThrowing); + m_serializedDetail = SerializedScriptValue::create(exec, m_detail, nullptr, nullptr, NonThrowing); m_triedToSerialize = true; } |
