| Index: webkit/port/bindings/v8/v8_proxy.cpp
|
| diff --git a/webkit/port/bindings/v8/v8_proxy.cpp b/webkit/port/bindings/v8/v8_proxy.cpp
|
| index d11ee18fa40cb1e9c3b08ba5e52078e2f96c6a8f..e1f23ef57d7b928613b21bfccaa25d9638e6aa29 100644
|
| --- a/webkit/port/bindings/v8/v8_proxy.cpp
|
| +++ b/webkit/port/bindings/v8/v8_proxy.cpp
|
| @@ -45,6 +45,7 @@
|
| #include "CSSMutableStyleDeclaration.h"
|
| #include "DOMObjectsInclude.h"
|
| #include "DocumentLoader.h"
|
| +#include "FrameLoaderClient.h"
|
| #include "ScriptController.h"
|
| #include "V8CustomBinding.h"
|
| #include "V8DOMMap.h"
|
| @@ -1931,6 +1932,7 @@ void V8Proxy::ClearDocumentWrapperCache()
|
|
|
| void V8Proxy::DisposeContextHandles() {
|
| if (!m_context.IsEmpty()) {
|
| + m_frame->loader()->client()->didDestroyScriptContext();
|
| m_context.Dispose();
|
| m_context.Clear();
|
| }
|
| @@ -2334,6 +2336,7 @@ void V8Proxy::InitContextIfNeeded()
|
|
|
| SetSecurityToken();
|
|
|
| + m_frame->loader()->client()->didCreateScriptContext();
|
| m_frame->loader()->dispatchWindowObjectAvailable();
|
| }
|
|
|
|
|