[wasm] Don't pass rvalue references
std::unique_ptr should never be passed by rvalue reference. This is also not allowed by our style guide. Instead, just pass it by value. R=ahaas@chromium.org Bug: v8:7570 Change-Id: I525d3b4fd88e6ea47b22a517714a713dbb711ef8 Reviewed-on: https://chromium-review.googlesource.com/999419Reviewed-by: Andreas Haas <ahaas@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#52475}
Showing
Please
register
or
sign in
to comment