X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fbindings%2Fcore%2Fv8%2Fcustom%2FV8WorkerGlobalScopeCustom.cpp;h=2fff589d233bc064c8d2bbfa1e9457fc2c5c7c62;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=af184565f9cb9e61093ca8770d3473606a3008fa;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/bindings/core/v8/custom/V8WorkerGlobalScopeCustom.cpp b/src/third_party/WebKit/Source/bindings/core/v8/custom/V8WorkerGlobalScopeCustom.cpp index af18456..2fff589 100644 --- a/src/third_party/WebKit/Source/bindings/core/v8/custom/V8WorkerGlobalScopeCustom.cpp +++ b/src/third_party/WebKit/Source/bindings/core/v8/custom/V8WorkerGlobalScopeCustom.cpp @@ -47,7 +47,7 @@ namespace blink { static void setTimeoutOrInterval(const v8::FunctionCallbackInfo& info, bool singleShot) { - WorkerGlobalScope* workerGlobalScope = V8WorkerGlobalScope::toNative(info.Holder()); + WorkerGlobalScope* workerGlobalScope = V8WorkerGlobalScope::toImpl(info.Holder()); ASSERT(workerGlobalScope); int argumentCount = info.Length(); @@ -69,7 +69,7 @@ static void setTimeoutOrInterval(const v8::FunctionCallbackInfo& info return; } } - action = adoptPtr(new ScheduledAction(scriptState, toCoreString(function.As()), workerGlobalScope->url(), info.GetIsolate())); + action = adoptPtr(new ScheduledAction(scriptState, toCoreString(function.As()), KURL(), info.GetIsolate())); } else if (function->IsFunction()) { size_t paramCount = argumentCount >= 2 ? argumentCount - 2 : 0; OwnPtr[]> params;