Relax DCHECK in PictureLayerTiling constructor
This allows small raster scales like we see for some directly composited images to not trip over this particular DCHECK. Since these raster scales are all chosen by inverting the minimum dimension of the layer bounds, these minimum values round trip, and the resulting tiles won't be empty as they are doing a EnclosingContentsRectFromLayerRect to compute the tiling (and tile) size. Bug: 1124342 Change-Id: Ifb364e7d569d66903a04f9e4c80d56fc3ef8b9da Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2398985Reviewed-by:Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Daniel Libby <dlibby@microsoft.com> Cr-Commit-Position: refs/heads/master@{#806712}
Showing
Please register or sign in to comment