Index: include/core/SkColorSpace.h |
diff --git a/include/core/SkColorSpace.h b/include/core/SkColorSpace.h |
index 9fc5ccde719d7520f6cb40429675efe78e449a5c..4b373f48d0155ed21ab8891660124847a762acfb 100644 |
--- a/include/core/SkColorSpace.h |
+++ b/include/core/SkColorSpace.h |
@@ -104,6 +104,12 @@ public: |
static sk_sp<SkColorSpace> Deserialize(const void* data, size_t length); |
+ /** |
+ * If both are null, we return true. If one is null and the other is not, we return false. |
+ * If both are non-null, we do a deeper compare. |
+ */ |
+ static bool Equals(const SkColorSpace* src, const SkColorSpace* dst); |
+ |
protected: |
SkColorSpace(GammaNamed gammaNamed, const SkMatrix44& toXYZD50, Named named); |