| commit | 29622ffb0f2116f242bcddb38aec7a9100dda7ea | [log] [tgz] |
|---|---|---|
| author | xidachen <xidachen@chromium.org> | Thu Jul 21 18:35:56 2016 |
| committer | Commit bot <commit-bot@chromium.org> | Thu Jul 21 18:37:24 2016 |
| tree | 360e93886ff1df9275ac86b285191445f5e2d1d5 | |
| parent | 224e6490115e915ed5e6bc72a7a0bafe32d29389 [diff] |
Fix integer over flow issue in HTMLCanvasElement::canCreateImageBuffer Right now in this method, it does a size.width() * size.height(), and that could cause integer overflow. This CL fix that by using CheckedNumeric<int>. BUG=630024 Review-Url: https://codereview.chromium.org/2170693003 Cr-Commit-Position: refs/heads/master@{#406914}