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

Unified Diff: src/effects/SkMorphologyImageFilter.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/SkMorphologyImageFilter.cpp
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp
index 9ecf0c2266c341768ccec0b508e3e68e4556d44b..33b56a1612987e51ffd946942e381d2bae034df0 100644
--- a/src/effects/SkMorphologyImageFilter.cpp
+++ b/src/effects/SkMorphologyImageFilter.cpp
@@ -668,7 +668,7 @@ bool apply_morphology(const SkBitmap& input,
if (radius.fWidth > 0) {
GrTexture* texture = context->textureProvider()->refScratchTexture(
- desc, GrTextureProvider::kApprox_ScratchTexMatch);
+ desc, GrTextureProvider::kApprox_ScratchMatch);
if (NULL == texture) {
return false;
}
@@ -686,7 +686,7 @@ bool apply_morphology(const SkBitmap& input,
}
if (radius.fHeight > 0) {
GrTexture* texture = context->textureProvider()->refScratchTexture(desc,
- GrTextureProvider::kApprox_ScratchTexMatch);
+ GrTextureProvider::kApprox_ScratchMatch);
if (NULL == texture) {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698