Index: src/effects/SkBlurMaskFilter.cpp |
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp |
index 6679e8aa414bf70b5c26f1554d9f652f9aa0ee9e..1be030baf6a1065207af41f6c3cd3990298278f1 100644 |
--- a/src/effects/SkBlurMaskFilter.cpp |
+++ b/src/effects/SkBlurMaskFilter.cpp |
@@ -794,7 +794,7 @@ GrTexture* GrRectBlurEffect::CreateBlurProfileTexture(GrTextureProvider* texture |
if (!blurProfile) { |
SkAutoTDeleteArray<uint8_t> profile(SkBlurMask::ComputeBlurProfile(sigma)); |
- blurProfile = textureProvider->createTexture(texDesc, true, profile.get(), 0); |
+ blurProfile = textureProvider->createTexture(texDesc, SkBudgeted::kYes, profile.get(), 0); |
if (blurProfile) { |
textureProvider->assignUniqueKeyToTexture(key, blurProfile); |
} |
@@ -999,7 +999,7 @@ const GrFragmentProcessor* GrRRectBlurEffect::Create(GrTextureProvider* texProvi |
texDesc.fConfig = kAlpha_8_GrPixelConfig; |
blurNinePatchTexture.reset( |
- texProvider->createTexture(texDesc, true, blurredMask.fImage, 0)); |
+ texProvider->createTexture(texDesc, SkBudgeted::kYes , blurredMask.fImage, 0)); |
SkMask::FreeImage(blurredMask.fImage); |
if (!blurNinePatchTexture) { |
return nullptr; |