| Index: Source/bindings/v8/V8Binding.h
|
| diff --git a/Source/bindings/v8/V8Binding.h b/Source/bindings/v8/V8Binding.h
|
| index 3e1e3d556611ab4c9011aa7580e1e0cce070f057..dc33490b34162f59ab59ab5a369c535ac456235e 100644
|
| --- a/Source/bindings/v8/V8Binding.h
|
| +++ b/Source/bindings/v8/V8Binding.h
|
| @@ -709,6 +709,13 @@ void moveEventListenerToNewWrapper(v8::Handle<v8::Object>, EventListener* oldVal
|
| // Each specialized implementation will be generated.
|
| template<typename T>
|
| v8::Handle<v8::Value> toV8NoInline(T* impl, v8::Handle<v8::Object> creationContext, v8::Isolate*);
|
| +template<typename T>
|
| +v8::Handle<v8::Value> toV8NoInline(T* impl, ExecutionContext* context)
|
| +{
|
| + v8::Isolate* isolate = toIsolate(context);
|
| + v8::Handle<v8::Context> v8Context = toV8Context(context, DOMWrapperWorld::current(isolate));
|
| + return toV8NoInline(impl, v8Context->Global(), isolate);
|
| +}
|
|
|
| // Result values for platform object 'deleter' methods,
|
| // http://www.w3.org/TR/WebIDL/#delete
|
|
|