| Index: Source/bindings/core/v8/ScheduledAction.cpp
|
| diff --git a/Source/bindings/core/v8/ScheduledAction.cpp b/Source/bindings/core/v8/ScheduledAction.cpp
|
| index 423c46aac734081dfac72c1fab1d8eaeed9b0949..b7ce1d39f3caea07704b8065ff05bd6fc230e44e 100644
|
| --- a/Source/bindings/core/v8/ScheduledAction.cpp
|
| +++ b/Source/bindings/core/v8/ScheduledAction.cpp
|
| @@ -89,7 +89,7 @@ void ScheduledAction::execute(ExecutionContext* context)
|
|
|
| void ScheduledAction::execute(LocalFrame* frame)
|
| {
|
| - if (m_scriptState->contextIsEmpty()) {
|
| + if (m_scriptState->contextIsValid()) {
|
| WTF_LOG(Timers, "ScheduledAction::execute %p: context is empty", this);
|
| return;
|
| }
|
| @@ -112,7 +112,7 @@ void ScheduledAction::execute(LocalFrame* frame)
|
| void ScheduledAction::execute(WorkerGlobalScope* worker)
|
| {
|
| ASSERT(worker->thread()->isCurrentThread());
|
| - ASSERT(!m_scriptState->contextIsEmpty());
|
| + ASSERT(!m_scriptState->contextIsValid());
|
| if (!m_function.isEmpty()) {
|
| ScriptState::Scope scope(m_scriptState.get());
|
| Vector<v8::Handle<v8::Value> > info;
|
|
|