Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(843)

Unified Diff: Source/core/dom/ErrorEvent.cpp

Issue 20679002: Add 'colno' attribute to ErrorEvent interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/ErrorEvent.cpp
diff --git a/Source/core/dom/ErrorEvent.cpp b/Source/core/dom/ErrorEvent.cpp
index db11e534da322ceb9441137f84bf18ebca988f0f..7c4b3c169307e2370ce394ee6c8ee9fcda681355 100644
--- a/Source/core/dom/ErrorEvent.cpp
+++ b/Source/core/dom/ErrorEvent.cpp
@@ -39,6 +39,7 @@ ErrorEventInit::ErrorEventInit()
: message()
, filename()
, lineno(0)
+ , colno(0)
{
}
@@ -52,7 +53,7 @@ ErrorEvent::ErrorEvent(const AtomicString& type, const ErrorEventInit& initializ
, m_message(initializer.message)
, m_fileName(initializer.filename)
, m_lineNumber(initializer.lineno)
- , m_columnNumber(initializer.column)
+ , m_columnNumber(initializer.colno)
{
ScriptWrappable::init(this);
}

Powered by Google App Engine
This is Rietveld 408576698