Blink/V8 serialization: Remove ToWireBytes from SerializedScriptValue.
After the removal of byte-swapping in V8 value serialization, SerializedScriptValue::ToWireBytes() is strictly worse than GetWireData(), as it creates a copy of the serialized value bytes. Removing it makes copying obvious in the callers, so it can be removed where that results in a performance improvement. Bug: Change-Id: I2c299ac4baa89ba3d33210ce64762730390c4952 Reviewed-on: https://chromium-review.googlesource.com/804902Reviewed-by:Jeremy Roman <jbroman@chromium.org> Commit-Queue: Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#521423}
Showing
Please register or sign in to comment