SK_SUPPORT_LEGACY_DRAWFLTER typo

s/FLTER/FILTER/

R=reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1634573002

Review URL: https://codereview.chromium.org/1634573002
This commit is contained in:
fmalita 2016-01-25 06:23:54 -08:00 committed by Commit bot
parent 1517f93439
commit 53d9f1cfbd
5 changed files with 8 additions and 8 deletions

View File

@ -18,7 +18,7 @@
'SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG',
'SK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS',
'SK_SUPPORT_LEGACY_GRADIENT_DITHERING',
'SK_SUPPORT_LEGACY_DRAWFLTER',
'SK_SUPPORT_LEGACY_DRAWFILTER',
],
},
}

View File

@ -1150,12 +1150,12 @@ public:
//////////////////////////////////////////////////////////////////////////
#ifdef SK_INTERNAL
#ifndef SK_SUPPORT_LEGACY_DRAWFLTER
#define SK_SUPPORT_LEGACY_DRAWFLTER
#ifndef SK_SUPPORT_LEGACY_DRAWFILTER
#define SK_SUPPORT_LEGACY_DRAWFILTER
#endif
#endif
#ifdef SK_SUPPORT_LEGACY_DRAWFLTER
#ifdef SK_SUPPORT_LEGACY_DRAWFILTER
/** Get the current filter object. The filter's reference count is not
affected. The filter is saved/restored, just like the matrix and clip.
@return the canvas' filter (or NULL).

View File

@ -24,7 +24,7 @@ public:
///////////////////////////////////////////////////////////////////////////
// These are forwarded to the N canvases we're referencing
#ifdef SK_SUPPORT_LEGACY_DRAWFLTER
#ifdef SK_SUPPORT_LEGACY_DRAWFILTER
SkDrawFilter* setDrawFilter(SkDrawFilter*) override;
#endif

View File

@ -444,7 +444,7 @@ public:
bool skipLayerForImageFilter = false,
const SkRect* rawBounds = nullptr) : fOrigPaint(paint) {
fCanvas = canvas;
#ifdef SK_SUPPORT_LEGACY_DRAWFLTER
#ifdef SK_SUPPORT_LEGACY_DRAWFILTER
fFilter = canvas->getDrawFilter();
#else
fFilter = nullptr;
@ -782,7 +782,7 @@ SkCanvas::~SkCanvas() {
dec_canvas();
}
#ifdef SK_SUPPORT_LEGACY_DRAWFLTER
#ifdef SK_SUPPORT_LEGACY_DRAWFILTER
SkDrawFilter* SkCanvas::getDrawFilter() const {
return fMCRec->fFilter;
}

View File

@ -292,7 +292,7 @@ void SkNWayCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4]
}
}
#ifdef SK_SUPPORT_LEGACY_DRAWFLTER
#ifdef SK_SUPPORT_LEGACY_DRAWFILTER
SkDrawFilter* SkNWayCanvas::setDrawFilter(SkDrawFilter* filter) {
Iter iter(fList);
while (iter.next()) {