| Index: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
|
| index 11da84638275a248cc9feee7dc77d554f774b886..b6991a908164e04e968c8534090e7554e78c3813 100644
|
| --- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
|
| @@ -187,6 +187,20 @@ void FrameLoaderClientImpl::documentElementAvailable()
|
| m_webFrame->viewImpl()->mainFrameDocumentElementAvailable();
|
| }
|
|
|
| +void FrameLoaderClientImpl::runScriptsAtDocumentElementAvailable()
|
| +{
|
| + if (m_webFrame->client())
|
| + m_webFrame->client()->runScriptsAtDocumentElementAvailable(m_webFrame);
|
| + // The callback might have deleted the frame, do not use |this|!
|
| +}
|
| +
|
| +void FrameLoaderClientImpl::runScriptsAtDocumentReady()
|
| +{
|
| + if (m_webFrame->client())
|
| + m_webFrame->client()->runScriptsAtDocumentReady(m_webFrame);
|
| + // The callback might have deleted the frame, do not use |this|!
|
| +}
|
| +
|
| void FrameLoaderClientImpl::didCreateScriptContext(v8::Local<v8::Context> context, int extensionGroup, int worldId)
|
| {
|
| if (m_webFrame->client())
|
|
|