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

Unified Diff: Source/modules/websockets/DocumentWebSocketChannel.cpp

Issue 1244703002: Remove 'blink::WebSerializedOrigin' (3/4) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: yay Created 5 years, 5 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
« no previous file with comments | « Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/websockets/DocumentWebSocketChannel.cpp
diff --git a/Source/modules/websockets/DocumentWebSocketChannel.cpp b/Source/modules/websockets/DocumentWebSocketChannel.cpp
index 1e274ce29e9c4d1681922a72f1de88a74be4a630..67688efcbfa9b0a448c0be345501727e236af9e1 100644
--- a/Source/modules/websockets/DocumentWebSocketChannel.cpp
+++ b/Source/modules/websockets/DocumentWebSocketChannel.cpp
@@ -50,6 +50,7 @@
#include "platform/network/WebSocketHandshakeRequest.h"
#include "platform/weborigin/SecurityOrigin.h"
#include "public/platform/Platform.h"
+#include "public/platform/WebSecurityOrigin.h"
#include "public/platform/WebSocketHandshakeRequestInfo.h"
#include "public/platform/WebSocketHandshakeResponseInfo.h"
#include "public/platform/WebString.h"
@@ -160,7 +161,7 @@ bool DocumentWebSocketChannel::connect(const KURL& url, const String& protocol)
if (executionContext()->isDocument() && document()->frame())
document()->frame()->loader().client()->dispatchWillOpenWebSocket(m_handle.get());
- m_handle->connect(url, webProtocols, *executionContext()->securityOrigin(), this);
+ m_handle->connect(url, webProtocols, WebSecurityOrigin(executionContext()->securityOrigin()), this);
flowControlIfNecessary();
if (m_identifier) {
« no previous file with comments | « Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698