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