Index: Source/core/html/HTMLFrameOwnerElement.cpp |
diff --git a/Source/core/html/HTMLFrameOwnerElement.cpp b/Source/core/html/HTMLFrameOwnerElement.cpp |
index 014638445263f52c4767624a3e398f2aebc0084d..175b6ac0d4948abbbe4b1824ab5eece18d39dac8 100644 |
--- a/Source/core/html/HTMLFrameOwnerElement.cpp |
+++ b/Source/core/html/HTMLFrameOwnerElement.cpp |
@@ -239,9 +239,8 @@ Widget* HTMLFrameOwnerElement::ownedWidget() const |
bool HTMLFrameOwnerElement::loadOrRedirectSubframe(const KURL& url, const AtomicString& frameName, bool lockBackForwardList) |
{ |
RefPtrWillBeRawPtr<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; |
} |