DescriptionFix unique_ptr usage in handling OAuth2TokenService::StartRequest result
Calling release() on a temporary unique_ptr to reset another unique_ptr with
resulting raw pointer is verbose and obscure. It also loses custom deleter
(see C++11 standard, clause 20.7.1.2.3.1).
BUG=none
Review-Url: https://codereview.chromium.org/2755403002
Cr-Commit-Position: refs/heads/master@{#458047}
Committed: https://chromium.googlesource.com/chromium/src/+/e32318796eaf782ee8afe8ec047b1288f756f644
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|