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

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

Issue 2391383003: Add Origin::CreateFromNormalizedTuple and call from WebSecurityOrigin (Closed)
Patch Set: loosen checks 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
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());
}

Powered by Google App Engine
This is Rietveld 408576698