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

Unified Diff: Source/platform/exported/WebSerializedOrigin.cpp

Issue 1232563003: Remove 'blink::WebSerializedOrigin' (1/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix. 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/websockets/DocumentWebSocketChannelTest.cpp ('k') | public/platform/WebSerializedOrigin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/exported/WebSerializedOrigin.cpp
diff --git a/Source/platform/exported/WebSerializedOrigin.cpp b/Source/platform/exported/WebSerializedOrigin.cpp
index bc90296d55c3bf3b41553fc81434fd28adf6b4a9..a66cac20b04eb0a780ab7fcd51fee385fe6e0d11 100644
--- a/Source/platform/exported/WebSerializedOrigin.cpp
+++ b/Source/platform/exported/WebSerializedOrigin.cpp
@@ -6,6 +6,7 @@
#include "public/platform/WebSerializedOrigin.h"
#include "platform/weborigin/SecurityOrigin.h"
+#include "public/platform/WebSecurityOrigin.h"
namespace blink {
@@ -14,4 +15,9 @@ WebSerializedOrigin::WebSerializedOrigin(const SecurityOrigin& origin)
{
}
+WebSerializedOrigin::WebSerializedOrigin(const WebSecurityOrigin& origin)
+ : m_string(origin.toString())
+{
+}
+
} // namespace blink
« no previous file with comments | « Source/modules/websockets/DocumentWebSocketChannelTest.cpp ('k') | public/platform/WebSerializedOrigin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698