Index: src/effects/SkPerlinNoiseShader.cpp |
diff --git a/src/effects/SkPerlinNoiseShader.cpp b/src/effects/SkPerlinNoiseShader.cpp |
index a37dff5cda6a0e9f6a653fc69d77ca9f4b730429..68645540caca4c7dfbb0a34208e19f9afe355e29 100644 |
--- a/src/effects/SkPerlinNoiseShader.cpp |
+++ b/src/effects/SkPerlinNoiseShader.cpp |
@@ -92,10 +92,10 @@ |
} |
#if SK_SUPPORT_GPU && !defined(SK_USE_SIMPLEX_NOISE) |
- fPermutationsBitmap.setInfo(SkImageInfo::MakeA8(kBlockSize, 1)); |
+ fPermutationsBitmap.setConfig(SkImageInfo::MakeA8(kBlockSize, 1)); |
fPermutationsBitmap.setPixels(fLatticeSelector); |
- fNoiseBitmap.setInfo(SkImageInfo::MakeN32Premul(kBlockSize, 4)); |
+ fNoiseBitmap.setConfig(SkImageInfo::MakeN32Premul(kBlockSize, 4)); |
fNoiseBitmap.setPixels(fNoise[0][0]); |
#endif |
} |