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/ssl This CL was uploaded by git cl split. R=estark@chromium.org Change-Id: Ifc807a2bc88c612e3099ec92c5a14d693a2fccb6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2435581 Auto-Submit: Kevin McNee <mcnee@chromium.org> Reviewed-by:Emily Stark <estark@chromium.org> Commit-Queue: Emily Stark <estark@chromium.org> Cr-Commit-Position: refs/heads/master@{#811599}
Showing
Please register or sign in to comment