diff options
Diffstat (limited to 'libs/hwui/DamageAccumulator.h')
-rw-r--r-- | libs/hwui/DamageAccumulator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hwui/DamageAccumulator.h b/libs/hwui/DamageAccumulator.h index 250296ecc89f..7d0b6877a71a 100644 --- a/libs/hwui/DamageAccumulator.h +++ b/libs/hwui/DamageAccumulator.h @@ -26,7 +26,7 @@ // Smaller than INT_MIN/INT_MAX because we offset these values // and thus don't want to be adding offsets to INT_MAX, that's bad -#define DIRTY_MIN (-0x7ffffff-1) +#define DIRTY_MIN (-0x7ffffff - 1) #define DIRTY_MAX (0x7ffffff) namespace android { @@ -38,6 +38,7 @@ class Matrix4; class DamageAccumulator { PREVENT_COPY_AND_ASSIGN(DamageAccumulator); + public: DamageAccumulator(); // mAllocator will clean everything up for us, no need for a dtor |