-
Stephen Chenney authored
Code checks for the size when allocating a raster shape (for CSS shape-outside) but ASAN defeats this check by allocating more than the exact image size. Be robust to this case and other out-of-memory situations by handling failed allocations. R=fs@opera.com BUG=779366 Change-Id: I11b1f9baaac21d89044dbaa1d5ed6cd188ccc813 Reviewed-on: https://chromium-review.googlesource.com/749320Reviewed-by:
Fredrik Söderquist <fs@opera.com> Commit-Queue: Stephen Chenney <schenney@chromium.org> Cr-Commit-Position: refs/heads/master@{#513251}
b059a760