| Index: webkit/glue/webframeloaderclient_impl.cc
|
| diff --git a/webkit/glue/webframeloaderclient_impl.cc b/webkit/glue/webframeloaderclient_impl.cc
|
| index f646fc566e81f62168ff1832b8875bc3069424ed..3b66c1f324cc08040bc2880682130059c3482c02 100644
|
| --- a/webkit/glue/webframeloaderclient_impl.cc
|
| +++ b/webkit/glue/webframeloaderclient_impl.cc
|
| @@ -130,18 +130,25 @@ void WebFrameLoaderClient::documentElementAvailable() {
|
| d->DocumentElementAvailable(webframe_);
|
| }
|
|
|
| -void WebFrameLoaderClient::didCreateScriptContext() {
|
| +void WebFrameLoaderClient::didCreateScriptContextForFrame() {
|
| WebViewImpl* webview = webframe_->GetWebViewImpl();
|
| WebViewDelegate* d = webview->delegate();
|
| if (d)
|
| - d->DidCreateScriptContext(webframe_);
|
| + d->DidCreateScriptContextForFrame(webframe_);
|
| }
|
|
|
| -void WebFrameLoaderClient::didDestroyScriptContext() {
|
| +void WebFrameLoaderClient::didDestroyScriptContextForFrame() {
|
| WebViewImpl* webview = webframe_->GetWebViewImpl();
|
| WebViewDelegate* d = webview->delegate();
|
| if (d)
|
| - d->DidDestroyScriptContext(webframe_);
|
| + d->DidDestroyScriptContextForFrame(webframe_);
|
| +}
|
| +
|
| +void WebFrameLoaderClient::didCreateIsolatedScriptContext() {
|
| + WebViewImpl* webview = webframe_->GetWebViewImpl();
|
| + WebViewDelegate* d = webview->delegate();
|
| + if (d)
|
| + d->DidCreateIsolatedScriptContext(webframe_);
|
| }
|
|
|
| void WebFrameLoaderClient::didPerformFirstNavigation() const {
|
|
|