Index: Source/core/html/HTMLFrameOwnerElement.cpp |
diff --git a/Source/core/html/HTMLFrameOwnerElement.cpp b/Source/core/html/HTMLFrameOwnerElement.cpp |
index edb7c18db47b899badc30898c4e6725d7d9f0844..f837432ada709ba1689cc086a470ef7355632e9e 100644 |
--- a/Source/core/html/HTMLFrameOwnerElement.cpp |
+++ b/Source/core/html/HTMLFrameOwnerElement.cpp |
@@ -225,9 +225,8 @@ Widget* HTMLFrameOwnerElement::ownedWidget() const |
bool HTMLFrameOwnerElement::loadOrRedirectSubframe(const KURL& url, const AtomicString& frameName, bool lockBackForwardList) |
{ |
RefPtr<LocalFrame> parentFrame = document().frame(); |
- // FIXME(kenrb): The necessary semantics for RemoteFrames have not been worked out yet, but this will likely need some logic to handle them. |
- if (contentFrame() && contentFrame()->isLocalFrame()) { |
- toLocalFrame(contentFrame())->navigationScheduler().scheduleLocationChange(&document(), url.string(), Referrer(document().outgoingReferrer(), document().referrerPolicy()), lockBackForwardList); |
+ if (contentFrame()) { |
+ contentFrame()->navigate(document(), url, Referrer(document().outgoingReferrer(), document().referrerPolicy()), lockBackForwardList); |
return true; |
} |