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=raymes@chromium.org Bug: 1024981 Change-Id: Ia3973b95ed896197678e47de7697f68c3ab2e784 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1918156 Auto-Submit: kylechar <kylechar@chromium.org> Reviewed-by:Raymes Khoury <raymes@chromium.org> Commit-Queue: kylechar <kylechar@chromium.org> Cr-Commit-Position: refs/heads/master@{#715710}
Showing
Please register or sign in to comment