Fix assigning NULL to scoped_refptr
Update code where NULL or 0 is assigned to a scoped_refptr to reset it. Just call reset() instead. If operator=(std::nullptr_t) is added these assignments become ambiguous. This CL was uploaded by git cl split. R=reillyg@chromium.org Bug: 1024981 Change-Id: I11e16eb6457e3de133bf6528b437f0753e73b5ce Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1918322 Auto-Submit: kylechar <kylechar@chromium.org> Reviewed-by:Reilly Grant <reillyg@chromium.org> Commit-Queue: Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#715485}
Showing
Please register or sign in to comment