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

Unified Diff: src/core/SkColorSpace_A2B.h

Issue 2449243003: Initial implementation of a SkColorSpace_A2B xform (Closed)
Patch Set: fixed compile error on certain trybots related to RVO move-elision Created 4 years, 1 month 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 | « src/core/SkColorSpaceXform_A2B.cpp ('k') | src/core/SkColorSpace_Base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkColorSpace_A2B.h
diff --git a/src/core/SkColorSpace_A2B.h b/src/core/SkColorSpace_A2B.h
index 726e3d7fdd308adf7a03c42b299daa11857a6d7f..2fb7a83cabc7162f7b51ade9de02c0cd4b67c7e5 100644
--- a/src/core/SkColorSpace_A2B.h
+++ b/src/core/SkColorSpace_A2B.h
@@ -132,7 +132,7 @@ public:
};
const Element& element(size_t i) const { return fElements[i]; }
- size_t count() const { return fElements.size(); }
+ int count() const { return (int)fElements.size(); }
// the intermediate profile connection space that this color space
// represents the transformation to
@@ -150,6 +150,7 @@ private:
std::vector<Element> fElements;
friend class SkColorSpace;
+ friend class ColorSpaceXformTest;
typedef SkColorSpace_Base INHERITED;
};
« no previous file with comments | « src/core/SkColorSpaceXform_A2B.cpp ('k') | src/core/SkColorSpace_Base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698