Use static_cast instead of reinterpret_cast for downcasting
static_cast is better suited for downcasting since it can check that the types are related. /chrome/browser/ui/views/webauthn This CL was uploaded by git cl split. R=nsatragno@chromium.org Change-Id: I0d2cf195336da3a9bcb34465d2e5e8e144807ad6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2435881 Auto-Submit: Kevin McNee <mcnee@chromium.org> Reviewed-by:Nina Satragno <nsatragno@chromium.org> Commit-Queue: Nina Satragno <nsatragno@chromium.org> Cr-Commit-Position: refs/heads/master@{#811336}
Showing
Please register or sign in to comment