summaryrefslogtreecommitdiffstats
path: root/webkit/port/bindings/v8/v8_proxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/port/bindings/v8/v8_proxy.cpp')
-rw-r--r--webkit/port/bindings/v8/v8_proxy.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/port/bindings/v8/v8_proxy.cpp b/webkit/port/bindings/v8/v8_proxy.cpp
index d11ee18..e1f23ef 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();
}