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

Unified Diff: include/core/SkColorSpace.h

Issue 2389983002: Refactored SkColorSpace and added in a Lab PCS GM (Closed)
Patch Set: responding to comments Created 4 years, 2 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
Index: include/core/SkColorSpace.h
diff --git a/include/core/SkColorSpace.h b/include/core/SkColorSpace.h
index a96f6220951a98e518eb8483b0f63cb0b539b948..7d5f017e8eacfd23446ed74d163d6d233a1eae6c 100644
--- a/include/core/SkColorSpace.h
+++ b/include/core/SkColorSpace.h
@@ -66,6 +66,7 @@ public:
/**
* Create an SkColorSpace with the same gamut as this color space, but with linear gamma.
+ * If this is not possible due to the color space specification, nullptr is returned.
msarett 2016/10/11 13:40:30 I'm still struggling with this... Though I don't
*/
sk_sp<SkColorSpace> makeLinearGamma();

Powered by Google App Engine
This is Rietveld 408576698