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