Index: src/core/SkMipMap.cpp |
diff --git a/src/core/SkMipMap.cpp b/src/core/SkMipMap.cpp |
index 0673c7e093ca744bf2f945e8a333e0b8bea7b8d5..4888b574e4a687c63e400374b99d4c973686535b 100644 |
--- a/src/core/SkMipMap.cpp |
+++ b/src/core/SkMipMap.cpp |
@@ -129,7 +129,7 @@ SkMipMap::Level* SkMipMap::AllocLevels(int levelCount, size_t pixelSize) { |
SkMipMap* SkMipMap::Build(const SkBitmap& src) { |
void (*proc)(SkBitmap* dst, int x, int y, const SkBitmap& src); |
- const SkBitmap::Config config = src.getConfig(); |
+ const SkBitmap::Config config = src.config(); |
switch (config) { |
case SkBitmap::kARGB_8888_Config: |
proc = downsampleby2_proc32; |