DescriptionRemoved use of RefPtr::Release where result is not used.
This patch
- Removed use of RefPtr::Release where the result is not used. Replaced
this with setting the RefPtr to nullptr.
- Added WARN_UNUSED_RESULT to RefPtr::Release() to prevent it from
being used in this way in future.
BUG=494719
Review-Url: https://codereview.chromium.org/2907543002
Cr-Commit-Position: refs/heads/master@{#474903}
Committed: https://chromium.googlesource.com/chromium/src/+/f2b5ef577de5bea5bcc93375eeb2e5c4ea4def7f
Patch Set 1 #
Total comments: 1
Patch Set 2 : fixed typo #
Messages
Total messages: 16 (9 generated)
|