Index: src/core/SkBitmapHeap.cpp |
diff --git a/src/core/SkBitmapHeap.cpp b/src/core/SkBitmapHeap.cpp |
index f3428db64f13039bdf025d8bb5652c44bff7a229..a17113842f3f760843b020cf77ded6d385276d92 100644 |
--- a/src/core/SkBitmapHeap.cpp |
+++ b/src/core/SkBitmapHeap.cpp |
@@ -259,7 +259,7 @@ bool SkBitmapHeap::copyBitmap(const SkBitmap& originalBitmap, SkBitmap& copiedBi |
// copiedBitmap.setPixelRef(sharedPixelRef, originalBitmap.pixelRefOffset()); |
} else if (originalBitmap.empty()) { |
copiedBitmap.reset(); |
- } else if (!originalBitmap.deepCopyTo(&copiedBitmap, originalBitmap.getConfig())) { |
+ } else if (!originalBitmap.deepCopyTo(&copiedBitmap, originalBitmap.config())) { |
return false; |
} |
copiedBitmap.setImmutable(); |