| Index: Source/web/FrameLoaderClientImpl.cpp
|
| diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
|
| index 4a787c608af060e3e188bc76e6bbdd3cd407a8d1..a278218cb436b6e6d9e30b79f4e6eb871e1ed128 100644
|
| --- a/Source/web/FrameLoaderClientImpl.cpp
|
| +++ b/Source/web/FrameLoaderClientImpl.cpp
|
| @@ -127,6 +127,7 @@ void FrameLoaderClientImpl::dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*
|
|
|
| void FrameLoaderClientImpl::documentElementAvailable()
|
| {
|
| + RefPtr<WebFrameImpl> protector(m_webFrame);
|
| if (m_webFrame->client())
|
| m_webFrame->client()->didCreateDocumentElement(m_webFrame);
|
| }
|
| @@ -303,6 +304,7 @@ void FrameLoaderClientImpl::dispatchDidFinishLoading(DocumentLoader* loader,
|
|
|
| void FrameLoaderClientImpl::dispatchDidFinishDocumentLoad()
|
| {
|
| + RefPtr<WebFrameImpl> protector(m_webFrame);
|
| if (m_webFrame->client())
|
| m_webFrame->client()->didFinishDocumentLoad(m_webFrame);
|
| }
|
|
|