Index: Source/core/html/HTMLFrameOwnerElement.cpp |
diff --git a/Source/core/html/HTMLFrameOwnerElement.cpp b/Source/core/html/HTMLFrameOwnerElement.cpp |
index 0a5d70ed9636684305ac750a6f1ca7d1bc784318..bb8393b83b6280616c52172b3f5b58dcfde5ddbe 100644 |
--- a/Source/core/html/HTMLFrameOwnerElement.cpp |
+++ b/Source/core/html/HTMLFrameOwnerElement.cpp |
@@ -125,13 +125,13 @@ SVGDocument* HTMLFrameOwnerElement::getSVGDocument(ExceptionState& es) const |
bool HTMLFrameOwnerElement::loadOrRedirectSubframe(const KURL& url, const AtomicString& frameName, bool lockBackForwardList) |
{ |
- RefPtr<Frame> parentFrame = document()->frame(); |
+ RefPtr<Frame> parentFrame = document().frame(); |
if (contentFrame()) { |
- contentFrame()->navigationScheduler()->scheduleLocationChange(document()->securityOrigin(), url.string(), parentFrame->loader()->outgoingReferrer(), lockBackForwardList); |
+ contentFrame()->navigationScheduler()->scheduleLocationChange(document().securityOrigin(), url.string(), parentFrame->loader()->outgoingReferrer(), lockBackForwardList); |
return true; |
} |
- if (!document()->securityOrigin()->canDisplay(url)) { |
+ if (!document().securityOrigin()->canDisplay(url)) { |
FrameLoader::reportLocalLoadFailed(parentFrame.get(), url.string()); |
return false; |
} |
@@ -139,7 +139,7 @@ bool HTMLFrameOwnerElement::loadOrRedirectSubframe(const KURL& url, const Atomic |
if (!SubframeLoadingDisabler::canLoadFrame(this)) |
return false; |
- String referrer = SecurityPolicy::generateReferrerHeader(document()->referrerPolicy(), url, parentFrame->loader()->outgoingReferrer()); |
+ String referrer = SecurityPolicy::generateReferrerHeader(document().referrerPolicy(), url, parentFrame->loader()->outgoingReferrer()); |
RefPtr<Frame> childFrame = parentFrame->loader()->client()->createFrame(url, frameName, referrer, this); |
if (!childFrame) { |