Index: src/gpu/effects/GrTextureStripAtlas.cpp |
diff --git a/src/gpu/effects/GrTextureStripAtlas.cpp b/src/gpu/effects/GrTextureStripAtlas.cpp |
index 877215ecea259a7682aa8461660bc791b5af3465..0aa9dc351425b8c822e0efe2e2b09fca3867f9cb 100644 |
--- a/src/gpu/effects/GrTextureStripAtlas.cpp |
+++ b/src/gpu/effects/GrTextureStripAtlas.cpp |
@@ -158,7 +158,7 @@ int GrTextureStripAtlas::lockRow(const SkBitmap& data) { |
fDesc.fContext->writeTexturePixels(fTexture, |
0, rowNumber * fDesc.fRowHeight, |
fDesc.fWidth, fDesc.fRowHeight, |
- SkBitmapConfig2GrPixelConfig(data.config()), |
+ SkImageInfo2GrPixelConfig(data.info()), |
data.getPixels(), |
data.rowBytes(), |
GrContext::kDontFlush_PixelOpsFlag); |