| Index: third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.h b/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.h
|
| index 66e4316ae67de0986cab4e2dd3cb133f9540d0ef..dd803b189220264797ff9663edf9e501e67e8b11 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.h
|
| @@ -70,8 +70,9 @@ inline void V8DOMWrapper::setNativeInfo(v8::Isolate* isolate, v8::Local<v8::Obje
|
| ASSERT(wrapper->InternalFieldCount() >= 2);
|
| ASSERT(scriptWrappable);
|
| ASSERT(wrapperTypeInfo);
|
| - wrapper->SetAlignedPointerInInternalField(v8DOMWrapperObjectIndex, scriptWrappable);
|
| - wrapper->SetAlignedPointerInInternalField(v8DOMWrapperTypeIndex, const_cast<WrapperTypeInfo*>(wrapperTypeInfo));
|
| + int indices[] = { v8DOMWrapperObjectIndex, v8DOMWrapperTypeIndex };
|
| + void* values[] = { scriptWrappable, const_cast<WrapperTypeInfo*>(wrapperTypeInfo) };
|
| + wrapper->SetAlignedPointerInInternalFields(WTF_ARRAY_LENGTH(indices), indices, values);
|
| if (RuntimeEnabledFeatures::traceWrappablesEnabled()) {
|
| auto perIsolateData = V8PerIsolateData::from(isolate);
|
| // We notify ScriptWrappableVisitor about the new wrapper association,
|
|
|