Index: src/core/SkShader.cpp |
diff --git a/src/core/SkShader.cpp b/src/core/SkShader.cpp |
index 32f3df4d3c583c8236e3856e56ad1dbd202819b1..8f6bfb5d80bdd9231b5c0ba99cddfb51698027cd 100644 |
--- a/src/core/SkShader.cpp |
+++ b/src/core/SkShader.cpp |
@@ -51,7 +51,7 @@ bool SkShader::setContext(const SkBitmap& device, |
const SkMatrix* m = &matrix; |
SkMatrix total; |
- fDeviceConfig = SkToU8(device.getConfig()); |
+ fDeviceConfig = SkToU8(device.config()); |
fPaintAlpha = paint.getAlpha(); |
if (this->hasLocalMatrix()) { |
total.setConcat(matrix, this->getLocalMatrix()); |