Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Unified Diff: include/core/SkColorSpace.h

Issue 2196743002: Add SkColorSpace::Equals() API (Closed) Base URL: https://skia.googlesource.com/skia.git@cscleanup
Patch Set: Use malloc instead of stack for test Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | include/core/SkImageInfo.h » ('j') | src/core/SkColorSpace.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkColorSpace.h
diff --git a/include/core/SkColorSpace.h b/include/core/SkColorSpace.h
index 9fc5ccde719d7520f6cb40429675efe78e449a5c..a6330fd8242e13a198bcf99523883a0c20600487 100644
--- a/include/core/SkColorSpace.h
+++ b/include/core/SkColorSpace.h
@@ -104,6 +104,8 @@ public:
static sk_sp<SkColorSpace> Deserialize(const void* data, size_t length);
+ static bool Equals(SkColorSpace* src, SkColorSpace* dst);
mtklein 2016/07/29 15:43:48 any reason to not write const here? Are SkColorSp
msarett 2016/07/29 16:16:01 const SGTM. FWIW, they are immutable.
+
protected:
SkColorSpace(GammaNamed gammaNamed, const SkMatrix44& toXYZD50, Named named);
« no previous file with comments | « no previous file | include/core/SkImageInfo.h » ('j') | src/core/SkColorSpace.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698