commit | 040b6d8baf595865242790186672812f1df55cbb | [log] [tgz] |
---|---|---|
author | Tom Hudson <tomhudson@google.com> | Thu Apr 16 10:50:53 2015 -0400 |
committer | Tom Hudson <tomhudson@google.com> | Thu Apr 16 13:39:51 2015 -0400 |
tree | 9cff121e46d7fcb48aa46452bf85ad9c5a6940eb | |
parent | ad83f87bcfc4f3ee4bcc972bad4ddcaaf4e57426 [diff] |
Fix offset of composeLayerRegion composeLayerRect() pays attention to the offset of the layer, but composeLayerRegion() ignores it. This patch makes the behavior of the region case match the behavior of the rect case. The difference will only be shown by tests which do not position the saved layer at the origin. BUG=20288561 R=ccraik@google.com,djsollen@google.com Change-Id: Ie22737a8614c508cbffe39aa4c55f7d5434277aa