| 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 5b87d37ed3e3968f8d1783d72749275df7c7d2c8..2ef7c32d4c4b20e07a6226cc71907fbb416ff654 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())
|
|
|