Fix scoped_refptr construction from NULL
This is a precursor to adding a new scoped_refptr(std::nullptr_t) constructor. The implicit conversion from NULL to scoped_refptr<T> causes a compilation error with the new constructor. Replace NULL with nullptr in any files where this is a problem. This CL was uploaded by git cl split. R=garykac@chromium.org Bug: 1018887 Change-Id: I4b920ec60b5a24237396d7cf14a47c8fcac7d786 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1884954 Auto-Submit: kylechar <kylechar@chromium.org> Reviewed-by:Gary Kacmarcik <garykac@chromium.org> Commit-Queue: Gary Kacmarcik <garykac@chromium.org> Cr-Commit-Position: refs/heads/master@{#710054}
Showing
Please register or sign in to comment