Index: third_party/WebKit/Source/core/loader/MixedContentChecker.cpp |
diff --git a/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp b/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp |
index bc0aff5204ccd168a9303cff4132c0724316e4a8..5f11c90a18a6e5f1db82d8a67da29db0ae2bcfa3 100644 |
--- a/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp |
+++ b/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp |
@@ -464,7 +464,7 @@ void MixedContentChecker::checkMixedPrivatePublic(LocalFrame* frame, const Atomi |
return; |
// Just count these for the moment, don't block them. |
- if (Platform::current()->isReservedIPAddress(resourceIPAddress) && !frame->document()->isHostedInReservedIPRange()) |
+ if (Platform::current()->isReservedIPAddress(resourceIPAddress) && frame->document()->addressSpace() == WebURLRequest::AddressSpacePublic) |
UseCounter::count(frame->document(), UseCounter::MixedContentPrivateHostnameInPublicHostname); |
} |