Index: include/core/SkColorFilter.h |
diff --git a/include/core/SkColorFilter.h b/include/core/SkColorFilter.h |
index df006ed1400b39d125663f7e12e6d537b6ccb3fb..51c07f1cdbea1f1f4674fb072b0389bb8b368de0 100644 |
--- a/include/core/SkColorFilter.h |
+++ b/include/core/SkColorFilter.h |
@@ -140,6 +140,10 @@ public: |
return false; |
} |
+ bool affectsTransparentBlack() const { |
+ return this->filterColor(0) != 0; |
+ } |
+ |
SK_TO_STRING_PUREVIRT() |
SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP() |