Store the result of Pass() in a local variable.
This makes the use of Pass() similar to how std::move() would be used to make this code act as it should when using unique_ptr. R=sky@chromium.org BUG=418297 Review URL: https://codereview.chromium.org/609083002 Cr-Commit-Position: refs/heads/master@{#297214}
Showing
Please register or sign in to comment