| Index: Source/bindings/v8/V8DOMWrapper.h
|
| diff --git a/Source/bindings/v8/V8DOMWrapper.h b/Source/bindings/v8/V8DOMWrapper.h
|
| index c59ce81f1483666d3d06b597e3e515ae97b77764..bc078e456148737c82ef3740b16a6a8c73a3c9dc 100644
|
| --- a/Source/bindings/v8/V8DOMWrapper.h
|
| +++ b/Source/bindings/v8/V8DOMWrapper.h
|
| @@ -78,7 +78,8 @@ struct WrapperTypeInfo;
|
| ASSERT(type->isGarbageCollected);
|
| wrapper->SetAlignedPointerInInternalField(v8DOMWrapperObjectIndex, object);
|
| wrapper->SetAlignedPointerInInternalField(v8DOMWrapperTypeIndex, const_cast<WrapperTypeInfo*>(type));
|
| - wrapper->SetAlignedPointerInInternalField(v8PersistentHandleIndex, handle);
|
| + // Persistent handle is stored in the last internal field.
|
| + wrapper->SetAlignedPointerInInternalField(wrapper->InternalFieldCount() - 1, handle);
|
| }
|
|
|
| inline void V8DOMWrapper::clearNativeInfo(v8::Handle<v8::Object> wrapper, const WrapperTypeInfo* type)
|
|
|