Background tracing: Fixed truncating of uploaded data
https://chromium-review.googlesource.com/c/chromium/src/+/1834576 broke the legacy JSON upload of Slow Reports due to the data being truncated as data() has different semantics between RefCountedString and std::string, and the latter resulted in an unintended std::string constructor being implicitly invoked and the data being treated as a null-terminated string. R=ssid@chromium.org Bug: 1014589 Change-Id: If4d11ceb86106cf9cbee89735692dc83c1f7c35e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1863855Reviewed-by:ssid <ssid@chromium.org> Commit-Queue: oysteine <oysteine@chromium.org> Cr-Commit-Position: refs/heads/master@{#706584}
Showing
Please register or sign in to comment