Index: third_party/WebKit/Source/core/frame/DOMWindow.cpp |
diff --git a/third_party/WebKit/Source/core/frame/DOMWindow.cpp b/third_party/WebKit/Source/core/frame/DOMWindow.cpp |
index 2a86da71d221ddebc047a2fb71340e0eb8a77c9a..00b43dee4db374959ba07d39e99d523a57a5589b 100644 |
--- a/third_party/WebKit/Source/core/frame/DOMWindow.cpp |
+++ b/third_party/WebKit/Source/core/frame/DOMWindow.cpp |
@@ -203,8 +203,6 @@ void DOMWindow::postMessage(PassRefPtr<SerializedScriptValue> message, const Mes |
String sourceOrigin = sourceDocument->securityOrigin()->toString(); |
String sourceSuborigin = sourceDocument->securityOrigin()->suboriginName(); |
- // FIXME: MixedContentChecker needs to be refactored for OOPIF. For now, |
- // create the url using replicated origins for remote frames. |
KURL targetUrl = isLocalDOMWindow() ? document()->url() : KURL(KURL(), frame()->securityContext()->securityOrigin()->toString()); |
if (MixedContentChecker::isMixedContent(sourceDocument->securityOrigin(), targetUrl)) |
UseCounter::count(frame(), UseCounter::PostMessageFromSecureToInsecure); |