Index: Source/bindings/v8/V8EventListenerList.h |
diff --git a/Source/bindings/v8/V8EventListenerList.h b/Source/bindings/v8/V8EventListenerList.h |
index e670b2c6e86b3344efc656dc1ca8c334ce2dc411..7703fdfd343853f141ad3018cae3269069fedc57 100644 |
--- a/Source/bindings/v8/V8EventListenerList.h |
+++ b/Source/bindings/v8/V8EventListenerList.h |
@@ -60,7 +60,7 @@ public: |
} |
template<typename WrapperType> |
- static PassRefPtr<V8EventListener> findOrCreateWrapper(v8::Local<v8::Value>, bool isAttribute); |
+ static PassRefPtr<V8EventListener> findOrCreateWrapper(v8::Local<v8::Value>, bool isAttribute, v8::Isolate*); |
static void clearWrapper(v8::Handle<v8::Object> listenerObject, bool isAttribute) |
{ |
@@ -88,7 +88,7 @@ private: |
}; |
template<typename WrapperType> |
-PassRefPtr<V8EventListener> V8EventListenerList::findOrCreateWrapper(v8::Local<v8::Value> value, bool isAttribute) |
+PassRefPtr<V8EventListener> V8EventListenerList::findOrCreateWrapper(v8::Local<v8::Value> value, bool isAttribute, v8::Isolate* isolate) |
{ |
ASSERT(v8::Context::InContext()); |
if (!value->IsObject()) |
@@ -101,7 +101,7 @@ PassRefPtr<V8EventListener> V8EventListenerList::findOrCreateWrapper(v8::Local<v |
if (wrapper) |
return wrapper; |
- RefPtr<V8EventListener> wrapperPtr = WrapperType::create(object, isAttribute); |
+ RefPtr<V8EventListener> wrapperPtr = WrapperType::create(object, isAttribute, isolate); |
if (wrapperPtr) |
object->SetHiddenValue(wrapperProperty, v8::External::New(wrapperPtr.get())); |