[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser/esr24] Bug 950604 - Backport of a small bugfix that was part of bug 861925. r=luke, a=sledru
commit 2c7a92b1f7a9b83450bd525b3014e13a22ca55b6
Author: Steve Fink <sfink@xxxxxxxxxxx>
Date: Wed Jan 22 22:14:04 2014 -0800
Bug 950604 - Backport of a small bugfix that was part of bug 861925. r=luke, a=sledru
---
js/src/jstypedarray.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/js/src/jstypedarray.cpp b/js/src/jstypedarray.cpp
index 53afdc1..b8cf614 100644
--- a/js/src/jstypedarray.cpp
+++ b/js/src/jstypedarray.cpp
@@ -651,7 +651,9 @@ ArrayBufferObject::stealContents(JSContext *cx, JSObject *obj, void **contents,
}
// Neuter the donor ArrayBuffer and all views of it
+ uint32_t flags = header->flags;
ArrayBufferObject::setElementsHeader(header, 0);
+ header->flags = flags;
GetViewList(&buffer)->init(views);
for (JSObject *view = views; view; view = NextView(view))
TypedArray::neuter(view);
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits