Perform a sizet->int checked_cast in WebURLLoaderImpl::OnReceiveWebBlobData.
Fixes an error on my Windows build: d:\src\chrome-git\src\components\html_viewer\web_url_loader_impl.cc(254) : error C2220: warning treated as error - no 'object' file generated d:\src\chrome-git\src\components\html_viewer\web_url_loader_impl.cc(254) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data BUG=NONE TEST=Windows html_viewer build succeeds. R=erg@chromium.org TBR=sky@chromium.org Review URL: https://codereview.chromium.org/1096243004 Cr-Commit-Position: refs/heads/master@{#326898}
Showing
Please register or sign in to comment