DescriptionReplaced usage of RefPtr::Release with std::move wraps in Source/core.
These wraps were overlooked in crrev.com/2622043003.
Replaces many of the calls to RefPtr::Release with a std::move wrap,
which returns a RefPtr instead of a PassRefPtr. As the code currently
stands, most methods still expect a PassRefPtr and so the RefPtr is
implicitly converted to a PassRefPtr.
Future patches will change the types passed from PassRefPtr to RefPtr.
Does not handle RefPtr::Release calls in return statements that
default to move. This will be handled in a future patch.
BUG=494719
Review-Url: https://codereview.chromium.org/2905823003
Cr-Commit-Position: refs/heads/master@{#474932}
Committed: https://chromium.googlesource.com/chromium/src/+/f8c074e1ab2eb9b1ff6a45567a7f94b70b1430a0
Patch Set 1 #
Messages
Total messages: 13 (8 generated)
|