| Index: Source/WebCore/bindings/v8/custom/V8WorkerContextCustom.cpp
|
| diff --git a/Source/WebCore/bindings/v8/custom/V8WorkerContextCustom.cpp b/Source/WebCore/bindings/v8/custom/V8WorkerContextCustom.cpp
|
| index 1d8f335f734daeab9c3d055b375dcf4ccd101346..18c4ffed9be52632af55f883facaf6d896e0c30b 100644
|
| --- a/Source/WebCore/bindings/v8/custom/V8WorkerContextCustom.cpp
|
| +++ b/Source/WebCore/bindings/v8/custom/V8WorkerContextCustom.cpp
|
| @@ -35,10 +35,10 @@
|
|
|
| #include "DOMTimer.h"
|
| #include "ExceptionCode.h"
|
| -#include "ScheduledAction.h"
|
| #include "V8Binding.h"
|
| #include "V8BindingMacros.h"
|
| #include "V8Proxy.h"
|
| +#include "V8ScheduledAction.h"
|
| #include "V8Utilities.h"
|
| #include "V8WorkerContextEventListener.h"
|
| #include "WebSocket.h"
|
| @@ -66,7 +66,7 @@ v8::Handle<v8::Value> SetTimeoutOrInterval(const v8::Arguments& args, bool singl
|
| v8::Handle<v8::Context> v8Context = proxy->context();
|
| if (function->IsString()) {
|
| WTF::String stringFunction = toWebCoreString(function);
|
| - timerId = DOMTimer::install(workerContext, adoptPtr(new ScheduledAction(v8Context, stringFunction, workerContext->url())), timeout, singleShot);
|
| + timerId = DOMTimer::install(workerContext, adoptPtr(new V8ScheduledAction(v8Context, stringFunction, workerContext->url())), timeout, singleShot);
|
| } else if (function->IsFunction()) {
|
| size_t paramCount = argumentCount >= 2 ? argumentCount - 2 : 0;
|
| v8::Local<v8::Value>* params = 0;
|
| @@ -76,7 +76,7 @@ v8::Handle<v8::Value> SetTimeoutOrInterval(const v8::Arguments& args, bool singl
|
| params[i] = args[i+2];
|
| }
|
| // ScheduledAction takes ownership of actual params and releases them in its destructor.
|
| - OwnPtr<ScheduledAction> action = adoptPtr(new ScheduledAction(v8Context, v8::Handle<v8::Function>::Cast(function), paramCount, params));
|
| + OwnPtr<ScheduledAction> action = adoptPtr(new V8ScheduledAction(v8Context, v8::Handle<v8::Function>::Cast(function), paramCount, params));
|
| // FIXME: We should use a OwnArrayPtr for params.
|
| delete [] params;
|
| timerId = DOMTimer::install(workerContext, action.release(), timeout, singleShot);
|
|
|