diff options
Diffstat (limited to 'libs/hwui/PatchCache.h')
-rw-r--r-- | libs/hwui/PatchCache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/PatchCache.h b/libs/hwui/PatchCache.h index 1e4099781a54..4cb533841ee1 100644 --- a/libs/hwui/PatchCache.h +++ b/libs/hwui/PatchCache.h @@ -91,7 +91,7 @@ public: private: struct PatchDescription { - PatchDescription(): mPatch(NULL), mBitmapWidth(0), mBitmapHeight(0), + PatchDescription(): mPatch(nullptr), mBitmapWidth(0), mBitmapHeight(0), mPixelWidth(0), mPixelHeight(0) { } @@ -146,7 +146,7 @@ private: * to track available regions of memory in the VBO. */ struct BufferBlock { - BufferBlock(uint32_t offset, uint32_t size): offset(offset), size(size), next(NULL) { + BufferBlock(uint32_t offset, uint32_t size): offset(offset), size(size), next(nullptr) { } uint32_t offset; |