Remove deprecated getBlendMode
Change-Id: I2254edbe05bc3fe415f546ea9e4533f52b7c5726
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/431180
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index 0d5ad9e..8de60b2 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -479,17 +479,6 @@
*/
SkBlendMode getBlendMode_or(SkBlendMode defaultMode) const;
-#ifdef SK_SUPPORT_LEGACY_GETBLENDMODE
- /** DEPRECATED
- * Use asBlendMode() or getBlendMode_or() instead.
- *
- * This attempts to inspect the current blender, and if it claims to be equivalent to
- * one of the predefiend SkBlendMode enums, returns that mode. If the blender does not,
- * this returns kSrcOver.
- */
- SkBlendMode getBlendMode() const { return this->getBlendMode_or(SkBlendMode::kSrcOver); }
-#endif
-
/** Returns true iff the current blender claims to be equivalent to SkBlendMode::kSrcOver.
*
* Also returns true of the current blender is nullptr.