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. /content/browser/sms This CL was uploaded by git cl split. R=reillyg@chromium.org Change-Id: I2ec4c07a65a3452bc23982b31d5b0e8f08068838 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2435999 Auto-Submit: Kevin McNee <mcnee@chromium.org> Reviewed-by:Reilly Grant <reillyg@chromium.org> Commit-Queue: Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#811321}
Showing
Please register or sign in to comment