Index: third_party/WebKit/Source/core/page/EventSource.cpp |
diff --git a/third_party/WebKit/Source/core/page/EventSource.cpp b/third_party/WebKit/Source/core/page/EventSource.cpp |
index dfa1f8289d154986d315a5abf99f78602dc7ea0c..77c3b18399948f3563ca17992661c1d2d4fd23e5 100644 |
--- a/third_party/WebKit/Source/core/page/EventSource.cpp |
+++ b/third_party/WebKit/Source/core/page/EventSource.cpp |
@@ -55,6 +55,7 @@ |
#include "platform/weborigin/SecurityOrigin.h" |
#include "public/platform/WebURLRequest.h" |
#include "wtf/text/StringBuilder.h" |
+#include <memory> |
namespace blink { |
@@ -221,7 +222,7 @@ ExecutionContext* EventSource::getExecutionContext() const |
return ActiveDOMObject::getExecutionContext(); |
} |
-void EventSource::didReceiveResponse(unsigned long, const ResourceResponse& response, PassOwnPtr<WebDataConsumerHandle> handle) |
+void EventSource::didReceiveResponse(unsigned long, const ResourceResponse& response, std::unique_ptr<WebDataConsumerHandle> handle) |
{ |
ASSERT_UNUSED(handle, !handle); |
ASSERT(m_state == CONNECTING); |