summaryrefslogtreecommitdiff
path: root/libs/hwui/tests/common/BitmapAllocationTestUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/tests/common/BitmapAllocationTestUtils.h')
-rw-r--r--libs/hwui/tests/common/BitmapAllocationTestUtils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/tests/common/BitmapAllocationTestUtils.h b/libs/hwui/tests/common/BitmapAllocationTestUtils.h
index 4892179f0d48..2988979cc266 100644
--- a/libs/hwui/tests/common/BitmapAllocationTestUtils.h
+++ b/libs/hwui/tests/common/BitmapAllocationTestUtils.h
@@ -41,7 +41,7 @@ public:
SkBitmap skBitmap;
SkImageInfo info = SkImageInfo::Make(width, height, colorType, kPremul_SkAlphaType);
skBitmap.setInfo(info);
- sk_sp<Bitmap> heapBitmap(Bitmap::allocateHeapBitmap(&skBitmap, nullptr));
+ sk_sp<Bitmap> heapBitmap(Bitmap::allocateHeapBitmap(&skBitmap));
setup(skBitmap);
return Bitmap::allocateHardwareBitmap(skBitmap);
}
@@ -73,4 +73,4 @@ public:
} // namespace test
} // namespace uirenderer
-} // namespace android \ No newline at end of file
+} // namespace android