commit | 2d61e7170067129ca5dbf8fead23d9f2ae5947b5 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Fri Apr 07 10:20:53 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Apr 07 15:04:33 2017 +0000 |
tree | 899bec6cb1e3503bb40b82de128c4c9f67ce18b7 | |
parent | 28f5b779a3852227b6acea530d322ec721681534 [diff] |
Simplify subset computation in SkGifImageReader If xOffset or yOffset was not zero, these computations would not be evaluated anyway, so no need to add zero for these comparisons. (Split off from CL 9810) Change-Id: I8481eb257d96766696945cef4eafaff4281fb7d9 Reviewed-on: https://skia-review.googlesource.com/11782 Reviewed-by: Matt Sarett <msarett@google.com> Commit-Queue: Leon Scroggins <scroggo@google.com>