| Index: third_party/WebKit/Source/web/WebDOMCustomEvent.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebDOMCustomEvent.cpp b/third_party/WebKit/Source/web/WebDOMCustomEvent.cpp
|
| index 459633308419218ddd6e4f45fc13b764b49e9279..4de4858c721fc3eadf969d62d8f022d98a4b7562 100644
|
| --- a/third_party/WebKit/Source/web/WebDOMCustomEvent.cpp
|
| +++ b/third_party/WebKit/Source/web/WebDOMCustomEvent.cpp
|
| @@ -34,16 +34,13 @@
|
| #include "bindings/core/v8/SerializedScriptValue.h"
|
| #include "core/events/CustomEvent.h"
|
| #include "public/platform/WebString.h"
|
| -#include "public/web/WebSerializedScriptValue.h"
|
|
|
| namespace blink {
|
|
|
| -void WebDOMCustomEvent::initCustomEvent(const WebString& type, bool canBubble, bool cancelable, const WebSerializedScriptValue& webSerializedScriptValue)
|
| +WebDOMCustomEvent::WebDOMCustomEvent(const WebString& type)
|
| + : WebDOMEvent(CustomEvent::create())
|
| {
|
| - ASSERT(m_private.get());
|
| - RefPtr<SerializedScriptValue> serializedScriptValue;
|
| - serializedScriptValue = webSerializedScriptValue;
|
| - unwrap<CustomEvent>()->initCustomEvent(type, canBubble, cancelable, serializedScriptValue.get());
|
| + unwrap<CustomEvent>()->initCustomEvent(type, false, false, nullptr);
|
| }
|
|
|
| } // namespace blink
|
|
|