commit | c71bfcaa182e3d4fd9874362d3b4781fda934a21 | [log] [tgz] |
---|---|---|
author | Chris Craik <ccraik@google.com> | Thu Aug 21 10:18:58 2014 -0700 |
committer | Chris Craik <ccraik@google.com> | Thu Aug 21 10:18:59 2014 -0700 |
tree | cbb11e94b0a849bb86b13206d9a4693d33b61890 | |
parent | 3acf66f5580b9e411ff20674c676de0901d4b459 [diff] [blame] |
Fix layer shadow transform crash bug:17180252 Change-Id: Ia648b8c98a217a3a4973917bf255d1397802cbbe
diff --git a/libs/hwui/DamageAccumulator.cpp b/libs/hwui/DamageAccumulator.cpp index 054a164..420e331 100644 --- a/libs/hwui/DamageAccumulator.cpp +++ b/libs/hwui/DamageAccumulator.cpp
@@ -214,7 +214,7 @@ mHead->pendingDirty.join(left, top, right, bottom); } -void DamageAccumulator::peekAtDirty(SkRect* dest) { +void DamageAccumulator::peekAtDirty(SkRect* dest) const { *dest = mHead->pendingDirty; }