Bug 1455071 tier 2 bustage followup - s/WriteBytes/AppendBytes/
authorSteve Fink <sfink@mozilla.com>
Thu, 19 Apr 2018 00:37:58 -0700
changeset 467978 837f9a0480fb9fd4d22f4c45baf36abdd90314df
parent 467977 2142864c9ba422c1a75a9da2a8d19f81217a370b
child 467979 8ed49dd81059dfdd876cf62ad5def1cfa56ffbbf
child 468058 db38d1dfdb81580d204568da2bf172dc2bf83073
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1455071
milestone61.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 1455071 tier 2 bustage followup - s/WriteBytes/AppendBytes/
js/rust/src/jsglue.cpp
--- a/js/rust/src/jsglue.cpp
+++ b/js/rust/src/jsglue.cpp
@@ -911,12 +911,12 @@ CopyJSStructuredCloneData(JSStructuredCl
 }
 
 bool
 WriteBytesToJSStructuredCloneData(const uint8_t* src, size_t len, JSStructuredCloneData* dest)
 {
     assert(src != nullptr);
     assert(dest != nullptr);
 
-    return dest->WriteBytes(reinterpret_cast<const char*>(src), len);
+    return dest->AppendBytes(reinterpret_cast<const char*>(src), len);
 }
 
 } // extern "C"