DescriptionFix off by one in creating a RasterShape
marginY1 is supposed to be an inclusive endpoint, however, maxY() is an
exclusive endpoint. To fix this, subtract one from maxY() before
assiging to marginY1 so that we don't walk off the end of the intervals
vector.
BUG=379108
R=betravis@adobe.com,pdr@chromium.org,inferno@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175433
Patch Set 1 #
Total comments: 1
Patch Set 2 : Update for review feedback #
Messages
Total messages: 7 (0 generated)
|