Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: third_party/WebKit/Source/web/WebPepperSocketImpl.cpp

Issue 2004243002: Migrate websockets from url+lineNumber to SourceLocation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@more-source-location-1
Patch Set: rebased Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()

Powered by Google App Engine
This is Rietveld 408576698