Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Unified Diff: src/effects/SkAlphaThresholdFilter.cpp

Issue 1139753002: Refactor GrBufferAllocPools to use resource cache (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Clean up Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/effects/SkAlphaThresholdFilter.cpp
diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp
index 70d195bfbd3253d57277d8b6e0b28b0198e462e4..00b3fe2e69af57ea1502485e43d1fcb1b2381a00 100644
--- a/src/effects/SkAlphaThresholdFilter.cpp
+++ b/src/effects/SkAlphaThresholdFilter.cpp
@@ -279,7 +279,7 @@ bool SkAlphaThresholdFilterImpl::asFragmentProcessor(GrFragmentProcessor** fp,
maskDesc.fWidth = texture->width();
maskDesc.fHeight = texture->height();
SkAutoTUnref<GrTexture> maskTexture(context->textureProvider()->refScratchTexture(
- maskDesc, GrTextureProvider::kApprox_ScratchTexMatch));
+ maskDesc, GrTextureProvider::kApprox_ScratchMatch));
if (!maskTexture) {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698