Index: gm/bitmapscroll.cpp |
diff --git a/gm/bitmapscroll.cpp b/gm/bitmapscroll.cpp |
index b14b0475dd6242a0ece52737afeb7a943be5a481..d2b8ca0f9a08f6786814201133ee73424b533cba 100644 |
--- a/gm/bitmapscroll.cpp |
+++ b/gm/bitmapscroll.cpp |
@@ -129,7 +129,7 @@ protected: |
// scrollRect() should always return true, even if it's a no-op |
SkBitmap scrolledBitmap; |
SkDEBUGCODE(bool copyToReturnValue = )origBitmap.copyTo( |
- &scrolledBitmap, origBitmap.config()); |
+ &scrolledBitmap, origBitmap.colorType()); |
SkASSERT(copyToReturnValue); |
SkDEBUGCODE(bool scrollRectReturnValue = )scrolledBitmap.scrollRect( |
subset, scrollX * xMult, scrollY * yMult); |