commit | 82457c51176855b9be0b441010870093a6feb414 | [log] [tgz] |
---|---|---|
author | Chris Craik <ccraik@google.com> | Wed Jun 29 16:22:27 2016 -0700 |
committer | Chris Craik <ccraik@google.com> | Wed Jun 29 16:22:28 2016 -0700 |
tree | d00581f5984e6fd6cd150b53bb4af90d0d5df69f | |
parent | 6401217532e5357549988182b90bea28a86691e2 [diff] [blame] |
Handle post-record-time clipPath scaling bug:29547149 Change-Id: I268210b240d2d8e08638114715f9622840fc02f7
diff --git a/libs/hwui/Rect.h b/libs/hwui/Rect.h index de4fa55..5786668 100644 --- a/libs/hwui/Rect.h +++ b/libs/hwui/Rect.h
@@ -73,6 +73,13 @@ bottom(height) { } + inline Rect(const SkIRect& rect): + left(rect.fLeft), + top(rect.fTop), + right(rect.fRight), + bottom(rect.fBottom) { + } + inline Rect(const SkRect& rect): left(rect.fLeft), top(rect.fTop),