| Index: Source/WebCore/bindings/v8/custom/V8ArrayBufferViewCustom.h
|
| ===================================================================
|
| --- Source/WebCore/bindings/v8/custom/V8ArrayBufferViewCustom.h (revision 89246)
|
| +++ Source/WebCore/bindings/v8/custom/V8ArrayBufferViewCustom.h (working copy)
|
| @@ -72,7 +72,7 @@
|
| V8DOMWrapper::setDOMWrapper(args.Holder(), type, array.get());
|
| if (hasIndexer)
|
| args.Holder()->SetIndexedPropertiesToExternalArrayData(array.get()->baseAddress(), arrayType, array.get()->length());
|
| - return toV8(array.release(), args.Holder());
|
| + return toV8(array.release(), args.Holder(), MarkIndependent);
|
| }
|
|
|
| // Template function used by the ArrayBufferView*Constructor callbacks.
|
| @@ -98,7 +98,7 @@
|
| // Do not call SetIndexedPropertiesToExternalArrayData on this
|
| // object. Not only is there no point from a performance
|
| // perspective, but doing so causes errors in the subset() case.
|
| - return toV8(array.release(), args.Holder());
|
| + return toV8(array.release(), args.Holder(), MarkIndependent);
|
| }
|
|
|
| // Supported constructors:
|
| @@ -157,7 +157,7 @@
|
| // Transform the holder into a wrapper object for the array.
|
| V8DOMWrapper::setDOMWrapper(args.Holder(), type, array.get());
|
| args.Holder()->SetIndexedPropertiesToExternalArrayData(array.get()->baseAddress(), arrayType, array.get()->length());
|
| - return toV8(array.release(), args.Holder());
|
| + return toV8(array.release(), args.Holder(), MarkIndependent);
|
| }
|
|
|
| template <class CPlusPlusArrayType, class JavaScriptWrapperArrayType>
|
|
|