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

Unified Diff: src/gpu/GrBlurUtils.cpp

Issue 1245183002: Misc cleanup (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address gcc complaint Created 5 years, 5 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/gpu/GrBlurUtils.cpp
diff --git a/src/gpu/GrBlurUtils.cpp b/src/gpu/GrBlurUtils.cpp
index d273371c10f11b1f1d0c297ef9a7f98e71c5d0e9..733d1e6ece8bf8927b9515e6ff39774005e0fb95 100644
--- a/src/gpu/GrBlurUtils.cpp
+++ b/src/gpu/GrBlurUtils.cpp
@@ -242,7 +242,8 @@ void GrBlurUtils::drawPathWithMaskFilter(GrContext* context,
return;
}
- if (paint.getMaskFilter()->directFilterMaskGPU(context,
+ if (paint.getMaskFilter()->directFilterMaskGPU(context->textureProvider(),
+ drawContext,
renderTarget,
&grPaint,
clip,
@@ -254,7 +255,6 @@ void GrBlurUtils::drawPathWithMaskFilter(GrContext* context,
return;
}
-
SkAutoTUnref<GrTexture> mask(create_mask_GPU(context,
maskRect,
*devPathPtr,

Powered by Google App Engine
This is Rietveld 408576698