mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-24 19:37:15 +00:00

The isEmpty check against path bounds would inadvertently fails because it checks if the width/height would fit in an int32. However, since the bounds will be intersected with a further clip rectangle that is already validated, this check is superfluous and can filter out some valid clip paths. Replacing this check with isEmpty64, which doesn't do the final limit check resolves this issue. Differential Revision: https://phabricator.services.mozilla.com/D218706
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at http://code.google.com/p/skia/wiki/DocRoot