Index: Source/WebCore/bindings/v8/ScriptCachedFrameData.cpp |
=================================================================== |
--- Source/WebCore/bindings/v8/ScriptCachedFrameData.cpp (revision 106847) |
+++ Source/WebCore/bindings/v8/ScriptCachedFrameData.cpp (working copy) |
@@ -59,7 +59,7 @@ |
if (m_context.get().IsEmpty()) |
return; |
- if (!frame->script()->canExecuteScripts(NotAboutToExecuteScript)) |
+ if (!frame || !frame->script()->canExecuteScripts(NotAboutToExecuteScript)) |
return; |
v8::HandleScope handleScope; |