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 1d878850c375822a2f29e0d73063895a6f288ed1..bab76836fef19fd787574e850cc47016d5a49586 100644 |
--- a/third_party/WebKit/Source/core/events/ErrorEvent.cpp |
+++ b/third_party/WebKit/Source/core/events/ErrorEvent.cpp |
@@ -31,7 +31,6 @@ |
#include "core/events/ErrorEvent.h" |
#include "bindings/core/v8/V8Binding.h" |
-#include <memory> |
#include <v8.h> |
namespace blink { |
@@ -59,7 +58,7 @@ ErrorEvent::ErrorEvent(const AtomicString& type, const ErrorEventInit& initializ |
m_error = initializer.error(); |
} |
-ErrorEvent::ErrorEvent(const String& message, std::unique_ptr<SourceLocation> location, DOMWrapperWorld* world) |
+ErrorEvent::ErrorEvent(const String& message, PassOwnPtr<SourceLocation> location, DOMWrapperWorld* world) |
: Event(EventTypeNames::error, false, true) |
, m_sanitizedMessage(message) |
, m_location(std::move(location)) |