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

Unified Diff: third_party/WebKit/public/platform/WebSecurityOrigin.h

Issue 2391383003: Add Origin::CreateFromNormalizedTuple and call from WebSecurityOrigin (Closed)
Patch Set: git cl format Created 4 years, 2 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 | « content/child/blink_platform_impl_unittest.cc ('k') | url/origin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebSecurityOrigin.h
diff --git a/third_party/WebKit/public/platform/WebSecurityOrigin.h b/third_party/WebKit/public/platform/WebSecurityOrigin.h
index f1c380441c193eab4bbe7abee4c50402067eb34c..a5916c3ddb395eac25e0b50ab4fa523a62cfe3d1 100644
--- a/third_party/WebKit/public/platform/WebSecurityOrigin.h
+++ b/third_party/WebKit/public/platform/WebSecurityOrigin.h
@@ -120,7 +120,7 @@ class WebSecurityOrigin {
// embedders, https://crbug.com/490074.
operator url::Origin() const {
return isUnique() ? url::Origin()
- : url::Origin::UnsafelyCreateOriginWithoutNormalization(
+ : url::Origin::CreateFromNormalizedTuple(
protocol().utf8(), host().utf8(), effectivePort());
}
« no previous file with comments | « content/child/blink_platform_impl_unittest.cc ('k') | url/origin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698