Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index a46c278a51d8a5681bd814cb9ac4afdba6e779b2..58ae5a635ff87458b8982adb2b4a15f94c8e8e10 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -4928,8 +4928,7 @@ void Document::initSecurityContext(const DocumentInit& initializer) |
return; |
} |
- if (initializer.isHostedInReservedIPRange()) |
- setHostedInReservedIPRange(); |
+ setHostedInReservedIPRange(initializer.isHostedInReservedIPRange()); |
if (!initializer.hasSecurityContext()) { |
// No source for a security context. |