Chromium Code Reviews

Unified Diff: tests/BitmapGetColorTest.cpp

Issue 300263005: Revert "Revert of add colortable support to imagegenerator (https://codereview.chromium.org/3044430… (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: tests/BitmapGetColorTest.cpp
diff --git a/tests/BitmapGetColorTest.cpp b/tests/BitmapGetColorTest.cpp
index bf6ebcb5cf12325764c6964390ee4cc0a0bda9ca..bf3ba67ecb1be428b316abd017c7b2ea192ff2fa 100644
--- a/tests/BitmapGetColorTest.cpp
+++ b/tests/BitmapGetColorTest.cpp
@@ -37,7 +37,7 @@ DEF_TEST(GetColor, reporter) {
kPremul_SkAlphaType);
SkBitmap bm;
uint32_t storage[4];
- bm.installPixels(info, storage, info.minRowBytes(), NULL, NULL);
+ bm.installPixels(info, storage, info.minRowBytes());
bm.eraseColor(initColor);
bm.eraseArea(area, gRec[i].fInColor);

Powered by Google App Engine