| Index: third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp b/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp
|
| index a00cd4fcb1c8bce7099ebdac738871c88fa14c49..e40177f6081aa854534c78ef80d5941220094e16 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp
|
| @@ -604,8 +604,8 @@ void HTMLConstructionSite::insertHTMLBodyElement(AtomicHTMLToken* token)
|
| HTMLElement* body = createHTMLElement(token);
|
| attachLater(currentNode(), body);
|
| m_openElements.pushHTMLBodyElement(HTMLStackItem::create(body, token));
|
| - if (m_document && m_document->frame())
|
| - m_document->frame()->loader().client()->dispatchWillInsertBody();
|
| + if (m_document)
|
| + m_document->willInsertBody();
|
| }
|
|
|
| void HTMLConstructionSite::insertHTMLFormElement(AtomicHTMLToken* token, bool isDemoted)
|
|
|