Chromium Code Reviews| Index: Source/core/dom/CustomEvent.h |
| diff --git a/Source/core/dom/CustomEvent.h b/Source/core/dom/CustomEvent.h |
| index 6afc0ae12a2e08192039934f61fca4e48a8d4e3a..3d3212bf33c4192b64e90f4d5d838905bd3bceb6 100644 |
| --- a/Source/core/dom/CustomEvent.h |
| +++ b/Source/core/dom/CustomEvent.h |
| @@ -34,8 +34,6 @@ namespace WebCore { |
| struct CustomEventInit : public EventInit { |
|
adamk
2013/06/22 01:00:04
This can probably just be
typedef EventInit Custo
jww
2013/06/25 01:50:29
Done.
|
| CustomEventInit(); |
| - |
| - ScriptValue detail; |
| }; |
| class CustomEvent : public Event { |
| @@ -52,19 +50,17 @@ public: |
| return adoptRef(new CustomEvent(type, initializer)); |
| } |
| - void initCustomEvent(const AtomicString& type, bool canBubble, bool cancelable, const ScriptValue& detail); |
| + void initCustomEvent(const AtomicString& type, bool canBubble, bool cancelable); |
| void initCustomEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<SerializedScriptValue>); |
| virtual const AtomicString& interfaceName() const; |
| - const ScriptValue& detail() const { return m_detail; } |
| PassRefPtr<SerializedScriptValue> serializedScriptValue() { return m_serializedScriptValue; } |
| private: |
| CustomEvent(); |
| CustomEvent(const AtomicString& type, const CustomEventInit& initializer); |
| - ScriptValue m_detail; |
| RefPtr<SerializedScriptValue> m_serializedScriptValue; |
| }; |