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 df0dd0e2ee69d548c0df78e13e8254dfcb2e4d53..8442461fc65f178b1861d1d4767c518f0d0bc706 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); |