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

Unified Diff: third_party/WebKit/Source/core/dom/SecurityContext.cpp

Issue 1775933002: CORS-RFC1918: Pipe creator address space through SharedWorker creation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo Created 4 years, 9 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/core/dom/SecurityContext.cpp
diff --git a/third_party/WebKit/Source/core/dom/SecurityContext.cpp b/third_party/WebKit/Source/core/dom/SecurityContext.cpp
index 716acfb69d082673a96572abd6a3e652f6b92db8..847debb9a57892ef8660a60049b0eb5059166a7c 100644
--- a/third_party/WebKit/Source/core/dom/SecurityContext.cpp
+++ b/third_party/WebKit/Source/core/dom/SecurityContext.cpp
@@ -34,7 +34,7 @@ namespace blink {
SecurityContext::SecurityContext()
: m_sandboxFlags(SandboxNone)
- , m_addressSpace(WebURLRequest::AddressSpacePublic)
+ , m_addressSpace(WebAddressSpacePublic)
, m_insecureRequestsPolicy(InsecureRequestsDoNotUpgrade)
, m_enforceStrictMixedContentChecking(false)
{
@@ -72,13 +72,13 @@ void SecurityContext::enforceSandboxFlags(SandboxFlags mask)
String SecurityContext::addressSpaceForBindings() const
{
switch (m_addressSpace) {
- case WebURLRequest::AddressSpacePublic:
+ case WebAddressSpacePublic:
return "public";
- case WebURLRequest::AddressSpacePrivate:
+ case WebAddressSpacePrivate:
return "private";
- case WebURLRequest::AddressSpaceLocal:
+ case WebAddressSpaceLocal:
return "local";
}
ASSERT_NOT_REACHED();

Powered by Google App Engine
This is Rietveld 408576698