Descriptioncc: Fix PostiveRatio crash by checking raster scale
The first time through ManageTilings, raster scale is zero, so you can't
use it to find a ratio. This DCHECKS because the ratio is infinite.
If the raster scale is zero, we already create new tilings, so skipping
this check will just avoid the DCHECK.
R=reveman@chromium.org
BUG=174236
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181857
Patch Set 1 #
Total comments: 2
Messages
Total messages: 8 (0 generated)
|