Index: src/core/SkImageFilter.cpp |
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp |
index 582f8992a3ca025ebb948d0e4a52ac035e8d1599..6356c1a5dd0ab33fb9d49f9baf813631317f44f8 100644 |
--- a/src/core/SkImageFilter.cpp |
+++ b/src/core/SkImageFilter.cpp |
@@ -309,7 +309,7 @@ SkImageFilter::Cache* SkImageFilter::GetExternalCache() { |
void SkImageFilter::WrapTexture(GrTexture* texture, int width, int height, SkBitmap* result) { |
SkImageInfo info = SkImageInfo::MakeN32Premul(width, height); |
- result->setConfig(info); |
+ result->setInfo(info); |
result->setPixelRef(SkNEW_ARGS(SkGrPixelRef, (info, texture)))->unref(); |
} |