Chromium Code Reviews
DescriptionDon't move raw pointers in payments
Moving raw pointers does the same job as copying, but is more verbose and also
more confusing: e.g., is the supposed pointer meant to be a smart one?
This instance was flagged by the tool from
https://codereview.chromium.org/2919243002/.
The raw pointer here actually contains a heap-allocated object, but the
receiving member variable is already a raw pointer, so no automatic deletion
happens currently.
BUG=729393
Review-Url: https://codereview.chromium.org/2919263002
Cr-Commit-Position: refs/heads/master@{#476975}
Committed: https://chromium.googlesource.com/chromium/src/+/fe465afd8324f24de72a35c032da9ede5bb640f3
Patch Set 1 #
Total comments: 1
Messages
Total messages: 12 (8 generated)
|
|||||||||||||||||||