DescriptionRemove SkRasterClip::setPath(const SkPath&, const SkRasterClip&, bool).
The method is only used in SkCanvas::clipPathHelper() and only called when isRect() is true (which effectively disables the !isBW branch).
Thus, we can promote the isBW branch to the caller and drop the rest of the method.
R=reed@google.com
Committed: http://code.google.com/p/skia/source/detail?r=9974
Patch Set 1 #Patch Set 2 : Revert isBW() back to isRect(). #Patch Set 3 : Added some comments. #
Messages
Total messages: 6 (0 generated)
|