Index: Source/core/dom/ErrorEvent.cpp |
diff --git a/Source/core/dom/ErrorEvent.cpp b/Source/core/dom/ErrorEvent.cpp |
index f9f46388ee091530b9622518242896b44e0b35b0..db11e534da322ceb9441137f84bf18ebca988f0f 100644 |
--- a/Source/core/dom/ErrorEvent.cpp |
+++ b/Source/core/dom/ErrorEvent.cpp |
@@ -52,15 +52,17 @@ ErrorEvent::ErrorEvent(const AtomicString& type, const ErrorEventInit& initializ |
, m_message(initializer.message) |
, m_fileName(initializer.filename) |
, m_lineNumber(initializer.lineno) |
+ , m_columnNumber(initializer.column) |
{ |
ScriptWrappable::init(this); |
} |
-ErrorEvent::ErrorEvent(const String& message, const String& fileName, unsigned lineNumber) |
+ErrorEvent::ErrorEvent(const String& message, const String& fileName, unsigned lineNumber, unsigned columnNumber) |
: Event(eventNames().errorEvent, false, true) |
, m_message(message) |
, m_fileName(fileName) |
, m_lineNumber(lineNumber) |
+ , m_columnNumber(columnNumber) |
{ |
ScriptWrappable::init(this); |
} |