Bug 1532005 - Don't prefix GetArrayBufferLengthAndData with JS:: in typedarray.rs, because the macro it's passed to wants ident, not expr. r=boo-urns
☠☠ backed out by a7bb6e5afaf2 ☠ ☠
authorJeff Walden <jwalden@mit.edu>
Mon, 04 Mar 2019 14:08:24 -0800
changeset 520198 9635abe5bf24340252ff06d02dae09d3b7d27fd9
parent 520197 901d4a94863c6782f27412ccfb61ed581295ced8
child 520199 4913d941de92592b54957d7b62bcc48d1cee8be4
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersboo-urns
bugs1532005
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1532005 - Don't prefix GetArrayBufferLengthAndData with JS:: in typedarray.rs, because the macro it's passed to wants ident, not expr. r=boo-urns
js/rust/src/typedarray.rs
--- a/js/rust/src/typedarray.rs
+++ b/js/rust/src/typedarray.rs
@@ -246,17 +246,17 @@ typed_array_element!(ClampedU8,
                      u8,
                      UnwrapUint8ClampedArray,
                      GetUint8ClampedArrayLengthAndData,
                      JS_NewUint8ClampedArray,
                      JS_GetUint8ClampedArrayData);
 typed_array_element!(ArrayBufferU8,
                      u8,
                      UnwrapArrayBuffer,
-                     JS::GetArrayBufferLengthAndData,
+                     GetArrayBufferLengthAndData,
                      JS_NewArrayBuffer,
                      JS_GetArrayBufferData);
 typed_array_element!(ArrayBufferViewU8,
                      u8,
                      UnwrapArrayBufferView,
                      GetArrayBufferViewLengthAndData);
 
 /// The Uint8ClampedArray type.