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 a9c87cbbdf8ef778d4d06ccfcbf882eef18a330c..9d9c6eaf889a52c48c8b72a399e2edb70464ab40 100644 |
--- a/third_party/WebKit/Source/core/events/CustomEvent.cpp |
+++ b/third_party/WebKit/Source/core/events/CustomEvent.cpp |
@@ -27,6 +27,7 @@ |
#include "core/events/CustomEvent.h" |
#include "bindings/core/v8/SerializedScriptValue.h" |
+#include "bindings/core/v8/SerializedScriptValueFactory.h" |
namespace blink { |
@@ -37,18 +38,15 @@ CustomEvent::CustomEvent() |
CustomEvent::CustomEvent(const AtomicString& type, const CustomEventInit& initializer) |
: Event(type, initializer) |
{ |
- if (initializer.hasDetail()) |
- m_detail = initializer.detail(); |
} |
CustomEvent::~CustomEvent() |
{ |
} |
-void CustomEvent::initCustomEvent(const AtomicString& type, bool canBubble, bool cancelable, const ScriptValue& detail) |
+void CustomEvent::initCustomEvent(const AtomicString& type, bool canBubble, bool cancelable, const ScriptValue&) |
{ |
initEvent(type, canBubble, cancelable); |
- m_detail = detail; |
} |
void CustomEvent::initCustomEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<SerializedScriptValue> serializedDetail) |