Index: src/utils/SkNWayCanvas.cpp |
diff --git a/src/utils/SkNWayCanvas.cpp b/src/utils/SkNWayCanvas.cpp |
index 4f60ca33cfd6546faa56458f50269847273773f5..23e9b117f16840fe4569ec8f11823d9a7f548d59 100644 |
--- a/src/utils/SkNWayCanvas.cpp |
+++ b/src/utils/SkNWayCanvas.cpp |
@@ -292,6 +292,7 @@ void SkNWayCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4] |
} |
} |
+#ifdef SK_SUPPORT_LEGACY_DRAWFLTER |
SkDrawFilter* SkNWayCanvas::setDrawFilter(SkDrawFilter* filter) { |
Iter iter(fList); |
while (iter.next()) { |
@@ -299,3 +300,4 @@ SkDrawFilter* SkNWayCanvas::setDrawFilter(SkDrawFilter* filter) { |
} |
return this->INHERITED::setDrawFilter(filter); |
} |
+#endif |