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

Unified Diff: src/effects/SkMorphologyImageFilter.cpp

Issue 53823003: Add can-ignore-rect hint to clear call (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: cleaned up Created 7 years, 2 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
===================================================================
--- src/effects/SkMorphologyImageFilter.cpp (revision 12054)
+++ src/effects/SkMorphologyImageFilter.cpp (working copy)
@@ -538,7 +538,7 @@
dstRect.width(), radius.fHeight);
context->clear(&clearRect, GrMorphologyEffect::kErode_MorphologyType == morphType ?
SK_ColorWHITE :
- SK_ColorTRANSPARENT);
+ SK_ColorTRANSPARENT, false);
src.reset(ast.detach());
srcRect = dstRect;
}

Powered by Google App Engine
This is Rietveld 408576698