[Telemetry SWX] Introduce ConvertPtr that checks null input
Introduce ConvertPtr template that checks whether input is null. Since ConvertPtr is a template we can test it with any valid type. Bug: b:158658869 Change-Id: I78d5f7c984303cbd9e34b187c07e1f08a0a891eb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2273065 Commit-Queue: Oleh Lamzin <lamzin@google.com> Reviewed-by:Mahmoud Gawad <mgawad@google.com> Reviewed-by:
Roland Bock <rbock@google.com> Cr-Commit-Position: refs/heads/master@{#786203}
Showing
Please register or sign in to comment