Revert "Revert of add colortable support to imagegenerator (https://codereview.chromium.org/304443003/)"
Fix is to add colortable param to installPixels()
This reverts commit 924205aaf2e0c3c65dda13e0eaccde3e7b2a5c40.
BUG=skia:
R=scroggo@google.com, reed@chromium.org
Author: reed@google.com
Review URL: https://codereview.chromium.org/300263005
git-svn-id: http://skia.googlecode.com/svn/trunk@14958 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/SampleHairline.cpp b/samplecode/SampleHairline.cpp
index 85ecc03..807a319 100644
--- a/samplecode/SampleHairline.cpp
+++ b/samplecode/SampleHairline.cpp
@@ -230,8 +230,7 @@
bm.eraseColor(SK_ColorTRANSPARENT);
bm2.installPixels(SkImageInfo::MakeN32Premul(WIDTH, HEIGHT),
- bm.getAddr32(MARGIN, MARGIN), bm.rowBytes(),
- NULL, NULL);
+ bm.getAddr32(MARGIN, MARGIN), bm.rowBytes());
SkCanvas c2(bm2);
SkPaint paint;