Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index d2d7c5925a04e8960f2b4376b520404bc1e26ff5..6b61efe9113c9ffa570e5d208fe81ebefc50323a 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -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; |
} |