| Index: third_party/WebKit/Source/core/events/ErrorEvent.cpp
|
| diff --git a/third_party/WebKit/Source/core/events/ErrorEvent.cpp b/third_party/WebKit/Source/core/events/ErrorEvent.cpp
|
| index 1844ee3eca936dedfd398145cc6a2b36efd0e1e8..0e854cc517e38eb4801c571fa05228a19c446903 100644
|
| --- a/third_party/WebKit/Source/core/events/ErrorEvent.cpp
|
| +++ b/third_party/WebKit/Source/core/events/ErrorEvent.cpp
|
| @@ -59,10 +59,12 @@ ErrorEvent::ErrorEvent(const AtomicString& type,
|
|
|
| ErrorEvent::ErrorEvent(const String& message,
|
| std::unique_ptr<SourceLocation> location,
|
| + ScriptValue error,
|
| DOMWrapperWorld* world)
|
| : Event(EventTypeNames::error, false, true),
|
| m_sanitizedMessage(message),
|
| m_location(std::move(location)),
|
| + m_error(error),
|
| m_world(world) {}
|
|
|
| void ErrorEvent::setUnsanitizedMessage(const String& message) {
|
|
|