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