| Index: third_party/WebKit/Source/core/events/ErrorEvent.h
|
| diff --git a/third_party/WebKit/Source/core/events/ErrorEvent.h b/third_party/WebKit/Source/core/events/ErrorEvent.h
|
| index e44e28448a2a5f33cdd006d5cd6a4f6653d26c91..97121d50b4faf4055209e2f06c01069f42a1e632 100644
|
| --- a/third_party/WebKit/Source/core/events/ErrorEvent.h
|
| +++ b/third_party/WebKit/Source/core/events/ErrorEvent.h
|
| @@ -37,7 +37,6 @@
|
| #include "core/events/Event.h"
|
| #include "wtf/RefPtr.h"
|
| #include "wtf/text/WTFString.h"
|
| -#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -48,7 +47,7 @@ public:
|
| {
|
| return new ErrorEvent;
|
| }
|
| - static ErrorEvent* create(const String& message, std::unique_ptr<SourceLocation> location, DOMWrapperWorld* world)
|
| + static ErrorEvent* create(const String& message, PassOwnPtr<SourceLocation> location, DOMWrapperWorld* world)
|
| {
|
| return new ErrorEvent(message, std::move(location), world);
|
| }
|
| @@ -83,12 +82,12 @@ public:
|
|
|
| private:
|
| ErrorEvent();
|
| - ErrorEvent(const String& message, std::unique_ptr<SourceLocation>, DOMWrapperWorld*);
|
| + ErrorEvent(const String& message, PassOwnPtr<SourceLocation>, DOMWrapperWorld*);
|
| ErrorEvent(const AtomicString&, const ErrorEventInit&);
|
|
|
| String m_unsanitizedMessage;
|
| String m_sanitizedMessage;
|
| - std::unique_ptr<SourceLocation> m_location;
|
| + OwnPtr<SourceLocation> m_location;
|
| ScriptValue m_error;
|
|
|
| RefPtr<DOMWrapperWorld> m_world;
|
|
|