diff options
author | Jim Van Verth <jvanverth@google.com> | 2017-10-26 14:27:10 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-26 18:49:21 +0000 |
commit | 1a8f234f616063ee2990c681f269c81ca1575298 (patch) | |
tree | 6460b67fe4e0934388bef7aa22e711118758dc06 /src/gpu/GrResourceCache.cpp | |
parent | 25019175eb82f2b0788e43987702f91551d88544 (diff) |
Fix assert in text clipping.
The original code was truncating to int rather than taking the floor.
This would give us the wrong integer value for negative numbers.
Bug: skia:7225
Change-Id: Ief6a01358d936dd3b3e1d36af569274995c2586e
Reviewed-on: https://skia-review.googlesource.com/64064
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrResourceCache.cpp')
0 files changed, 0 insertions, 0 deletions