| 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 8dda10f4c0d337a37ce59dd64a4b61aa4de9647f..0607c44a97be82cc1bcf1b87cc0fccce05366e43 100644
|
| --- a/third_party/WebKit/Source/core/dom/SecurityContext.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/SecurityContext.cpp
|
| @@ -33,7 +33,7 @@ namespace blink {
|
|
|
| SecurityContext::SecurityContext()
|
| : m_sandboxFlags(SandboxNone)
|
| - , m_hostedInReservedIPRange(false)
|
| + , m_addressSpace(WebURLRequest::AddressSpacePublic)
|
| , m_insecureRequestsPolicy(InsecureRequestsDoNotUpgrade)
|
| , m_enforceStrictMixedContentChecking(false)
|
| {
|
| @@ -68,12 +68,4 @@ void SecurityContext::enforceSandboxFlags(SandboxFlags mask)
|
| }
|
| }
|
|
|
| -WebURLRequest::AddressSpace SecurityContext::addressSpace() const
|
| -{
|
| - if (m_hostedInReservedIPRange)
|
| - return securityOrigin()->isLocalhost() ? WebURLRequest::AddressSpaceLocal : WebURLRequest::AddressSpacePrivate;
|
| -
|
| - return WebURLRequest::AddressSpacePublic;
|
| -}
|
| -
|
| } // namespace blink
|
|
|