commit | cdc050c8d96ffb8bd881982816a94487dc45597a | [log] [tgz] |
---|---|---|
author | Fredrik Söderquist <fs@opera.com> | Thu Nov 02 20:14:49 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Nov 02 20:14:49 2017 |
tree | dc99d3692a70f2d6053ce6de0aea5b6c4c247aed | |
parent | 13e9b84c8187eb11f42c04969a9a57757fd720f3 [diff] |
Cleanup extraction of intervals for raster shapes This restructures Shape::CreateRasterShape so that the raster data is extracted, followed by the actual extraction of intervals from the raster data. Move the size restriction from ShapeOutsideInfo to Shape. The code is generally left as-was with some minor exceptions, like using IntSize::Area() and using size types for |max_image_size_bytes|. The console messages previously emitted for "too large" images are dropped. This makes error handling slightly easier and hopefully also improves readability. Change-Id: I3e0a1bfb08f1c50d73f5ce7c909d98a6e31df5a0 Reviewed-on: https://chromium-review.googlesource.com/750962 Reviewed-by: Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#513591}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .