Index: Source/core/html/parser/HTMLConstructionSite.cpp |
diff --git a/Source/core/html/parser/HTMLConstructionSite.cpp b/Source/core/html/parser/HTMLConstructionSite.cpp |
index 6dcaad9b47bde6655c7eb6d0b02e85af44591e4f..4db3db9d6ec75a57ba6889556911c551cce62e0e 100644 |
--- a/Source/core/html/parser/HTMLConstructionSite.cpp |
+++ b/Source/core/html/parser/HTMLConstructionSite.cpp |
@@ -298,7 +298,7 @@ void HTMLConstructionSite::dispatchDocumentElementAvailableIfNeeded() |
{ |
ASSERT(m_document); |
if (m_document->frame() && !m_isParsingFragment) |
- m_document->frame()->loader()->dispatchDocumentElementAvailable(); |
+ m_document->frame()->loader().dispatchDocumentElementAvailable(); |
} |
void HTMLConstructionSite::insertHTMLHtmlStartTagBeforeHTML(AtomicHTMLToken* token) |
@@ -516,7 +516,7 @@ void HTMLConstructionSite::insertHTMLBodyElement(AtomicHTMLToken* token) |
attachLater(currentNode(), body); |
m_openElements.pushHTMLBodyElement(HTMLStackItem::create(body.release(), token)); |
if (Frame* frame = m_document->frame()) |
- frame->loader()->client()->dispatchWillInsertBody(); |
+ frame->loader().client()->dispatchWillInsertBody(); |
} |
void HTMLConstructionSite::insertHTMLFormElement(AtomicHTMLToken* token, bool isDemoted) |