DescriptionChanged PassRefPtr templated copy constructor to move constructor.
Changed argument in PassRefPtr constructor that takes a PassRefPtr with
a different inner type from a const lvalue to an rvalue, making the
constructor a move constructor instead of a copy constructor and
forbidding PassRefPtr copies when the inner type is different.
Added move wraps to call sites to ensure they pass rvalues.
Part of making PassRefPtr move only, in preparation for the removal of
PassRefPtr.
BUG=640449
Review-Url: https://codereview.chromium.org/2867693003
Cr-Commit-Position: refs/heads/master@{#470219}
Committed: https://chromium.googlesource.com/chromium/src/+/9a44821bd6c02f83896fe03e842f9982703c6b15
Patch Set 1 #
Messages
Total messages: 13 (8 generated)
|