summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorTom Hudson <tomhudson@google.com>2015-03-30 15:59:02 -0400
committerTom Hudson <tomhudson@google.com>2015-03-30 16:57:43 -0400
commite30b53cec5eb6eaa5d24231feb3207b917c1baab (patch)
tree386c65cec91fa48e12cec5b46bf0f6795bc094a2 /tools/aapt2/java/JavaClassGenerator.cpp
parentb13f44bc6ee65e155c54f645ab4aa6786feeb162 (diff)
Enter RectangleMode when the clip region is a rectangle
ClipArea's region mode implementation store the region's boundary in a rectangle, and if the region is that rectangle, set its region to empty. This is a bug, since as long as the ClipArea is in region mode it treats its region as determinitive. When the next clipping operation comes in, it is tested against the empty region instead of against the valid rect. Discovered via Skia GM testing. Change-Id: I3bbc4e81c8d68636061f830156e017e9b5c7e587
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions