| Index: Source/WebCore/bindings/v8/ScheduledAction.cpp
|
| ===================================================================
|
| --- Source/WebCore/bindings/v8/ScheduledAction.cpp (revision 106847)
|
| +++ Source/WebCore/bindings/v8/ScheduledAction.cpp (working copy)
|
| @@ -96,6 +96,8 @@
|
| {
|
| if (context->isDocument()) {
|
| Frame* frame = static_cast<Document*>(context)->frame();
|
| + if (!frame)
|
| + return;
|
| ScriptController* scriptController = frame->script();
|
| if (!scriptController->canExecuteScripts(NotAboutToExecuteScript))
|
| return;
|
|
|