remove SK_SUPPORT_LEGACY_IMAGEFILTER_CTM flag

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1938823002

Review-Url: https://codereview.chromium.org/1938823002
This commit is contained in:
reed 2016-05-01 15:00:20 -07:00 committed by Commit bot
parent f077edd660
commit 7563a5a983

View File

@ -1201,7 +1201,6 @@ void SkCanvas::internalSaveLayer(const SaveLayerRec& rec, SaveLayerStrategy stra
SkLazyPaint lazyP;
SkImageFilter* imageFilter = paint ? paint->getImageFilter() : NULL;
SkMatrix stashedMatrix = fMCRec->fMatrix;
#ifndef SK_SUPPORT_LEGACY_IMAGEFILTER_CTM
SkMatrix remainder;
SkSize scale;
/*
@ -1232,7 +1231,6 @@ void SkCanvas::internalSaveLayer(const SaveLayerRec& rec, SaveLayerStrategy stra
imageFilter = p->getImageFilter();
paint = p;
}
#endif
// do this before we create the layer. We don't call the public save() since
// that would invoke a possibly overridden virtual