Index: sky/engine/core/events/CustomEvent.cpp |
diff --git a/sky/engine/core/events/CustomEvent.cpp b/sky/engine/core/events/CustomEvent.cpp |
index ef4b770b2a44a62bf9c7496edbc887731dbbf851..ee0b03ca36dc980975d3478034d35a0a28410d79 100644 |
--- a/sky/engine/core/events/CustomEvent.cpp |
+++ b/sky/engine/core/events/CustomEvent.cpp |
@@ -26,8 +26,6 @@ |
#include "sky/engine/config.h" |
#include "sky/engine/core/events/CustomEvent.h" |
-#include "sky/engine/bindings/core/v8/SerializedScriptValue.h" |
- |
namespace blink { |
CustomEvent::CustomEvent() |
@@ -43,16 +41,6 @@ CustomEvent::~CustomEvent() |
{ |
} |
-void CustomEvent::initCustomEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<SerializedScriptValue> serializedDetail) |
-{ |
- if (dispatched()) |
- return; |
- |
- initEvent(type, canBubble, cancelable); |
- |
- m_serializedDetail = serializedDetail; |
-} |
- |
const AtomicString& CustomEvent::interfaceName() const |
{ |
return EventNames::CustomEvent; |