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. /components/data_reduction_proxy This CL was uploaded by git cl split. R=tbansal@chromium.org Change-Id: Idf2ab419bf07cd41493076a887390d93c1f8266a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2435582 Auto-Submit: Kevin McNee <mcnee@chromium.org> Reviewed-by:Tarun Bansal <tbansal@chromium.org> Commit-Queue: Tarun Bansal <tbansal@chromium.org> Cr-Commit-Position: refs/heads/master@{#813426}
Showing
Please register or sign in to comment