Index: third_party/WebKit/Source/web/WebPepperSocketImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebPepperSocketImpl.cpp b/third_party/WebKit/Source/web/WebPepperSocketImpl.cpp |
index f424a56eb35720129c92b8753d79e7ded0f82c81..460456b9a6b151f26fd5567017d3c7f8462cd49c 100644 |
--- a/third_party/WebKit/Source/web/WebPepperSocketImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebPepperSocketImpl.cpp |
@@ -54,7 +54,7 @@ WebPepperSocketImpl::WebPepperSocketImpl(const WebDocument& document, WebPepperS |
, m_bufferedAmountAfterClose(0) |
{ |
Document* coreDocument = document; |
- m_private = DocumentWebSocketChannel::create(coreDocument, m_channelProxy.get()); |
+ m_private = DocumentWebSocketChannel::create(coreDocument, m_channelProxy.get(), SourceLocation::capture()); |
} |
WebPepperSocketImpl::~WebPepperSocketImpl() |
@@ -140,7 +140,7 @@ void WebPepperSocketImpl::close(int code, const WebString& reason) |
void WebPepperSocketImpl::fail(const WebString& reason) |
{ |
- m_private->fail(reason, ErrorMessageLevel, String(), 0); |
+ m_private->fail(reason, ErrorMessageLevel, nullptr); |
} |
void WebPepperSocketImpl::disconnect() |