summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/skia/src/gpu/effects/GrTextureStripAtlas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/skia/src/gpu/effects/GrTextureStripAtlas.cpp')
-rw-r--r--chromium/third_party/skia/src/gpu/effects/GrTextureStripAtlas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/skia/src/gpu/effects/GrTextureStripAtlas.cpp b/chromium/third_party/skia/src/gpu/effects/GrTextureStripAtlas.cpp
index 877215ecea2..0aa9dc35142 100644
--- a/chromium/third_party/skia/src/gpu/effects/GrTextureStripAtlas.cpp
+++ b/chromium/third_party/skia/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);