| Index: Source/bindings/v8/V8PerContextData.h
|
| diff --git a/Source/bindings/v8/V8PerContextData.h b/Source/bindings/v8/V8PerContextData.h
|
| index ad46ce540c16620e696f9914f5287ae920f16ad5..9724bd1584b3012c84257510efd85aecf7a55efd 100644
|
| --- a/Source/bindings/v8/V8PerContextData.h
|
| +++ b/Source/bindings/v8/V8PerContextData.h
|
| @@ -79,14 +79,14 @@ public:
|
| v8::Local<v8::Object> createWrapperFromCache(const WrapperTypeInfo* type)
|
| {
|
| UnsafePersistent<v8::Object> boilerplate = m_wrapperBoilerplates.get(type);
|
| - return !boilerplate.isEmpty() ? boilerplate.newLocal(v8::Isolate::GetCurrent())->Clone() : createWrapperFromCacheSlowCase(type);
|
| + return !boilerplate.isEmpty() ? boilerplate.newLocal(m_isolate)->Clone() : createWrapperFromCacheSlowCase(type);
|
| }
|
|
|
| v8::Local<v8::Function> constructorForType(const WrapperTypeInfo* type)
|
| {
|
| UnsafePersistent<v8::Function> function = m_constructorMap.get(type);
|
| if (!function.isEmpty())
|
| - return function.newLocal(v8::Isolate::GetCurrent());
|
| + return function.newLocal(m_isolate);
|
| return constructorForTypeSlowCase(type);
|
| }
|
|
|
|
|