summaryrefslogtreecommitdiff
path: root/Source/WebCore/dom/MutationEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/MutationEvent.cpp')
-rw-r--r--Source/WebCore/dom/MutationEvent.cpp22
1 files changed, 3 insertions, 19 deletions
diff --git a/Source/WebCore/dom/MutationEvent.cpp b/Source/WebCore/dom/MutationEvent.cpp
index a61ef767e..6422ad7ba 100644
--- a/Source/WebCore/dom/MutationEvent.cpp
+++ b/Source/WebCore/dom/MutationEvent.cpp
@@ -23,35 +23,19 @@
#include "config.h"
#include "MutationEvent.h"
-
namespace WebCore {
-MutationEvent::MutationEvent()
- : m_attrChange(0)
-{
-}
-
-MutationEvent::MutationEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<Node> relatedNode,
- const String& prevValue, const String& newValue,
- const String& attrName, unsigned short attrChange)
+MutationEvent::MutationEvent(const AtomicString& type, bool canBubble, bool cancelable, Node* relatedNode, const String& prevValue, const String& newValue)
: Event(type, canBubble, cancelable)
, m_relatedNode(relatedNode)
, m_prevValue(prevValue)
, m_newValue(newValue)
- , m_attrName(attrName)
- , m_attrChange(attrChange)
-{
-}
-
-MutationEvent::~MutationEvent()
{
}
-void MutationEvent::initMutationEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<Node> relatedNode,
- const String& prevValue, const String& newValue,
- const String& attrName, unsigned short attrChange)
+void MutationEvent::initMutationEvent(const AtomicString& type, bool canBubble, bool cancelable, Node* relatedNode, const String& prevValue, const String& newValue, const String& attrName, unsigned short attrChange)
{
- if (dispatched())
+ if (isBeingDispatched())
return;
initEvent(type, canBubble, cancelable);