aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkMatrix44.h
diff options
context:
space:
mode:
authorGravatar Matt Sarett <msarett@google.com>2017-01-04 11:05:05 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-01-04 16:45:05 +0000
commite151bdb357c21b833718b369fe8fbd7fd57ae474 (patch)
tree485a6468612ede93ab62945b17eeec82e13b5dd3 /include/core/SkMatrix44.h
parent8c852be264d003b2e610c5b8634bc0f81c46bbba (diff)
Fix color space matrix hashing to avoid hashing the typemask
BUG=skia: Change-Id: I8d4594fcf0eeebf598871bfe9203ed52460c98ce Reviewed-on: https://skia-review.googlesource.com/6558 Reviewed-by: Mike Klein <mtklein@chromium.org> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Matt Sarett <msarett@google.com>
Diffstat (limited to 'include/core/SkMatrix44.h')
-rw-r--r--include/core/SkMatrix44.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/core/SkMatrix44.h b/include/core/SkMatrix44.h
index 9820ee58cd..83e51abe55 100644
--- a/include/core/SkMatrix44.h
+++ b/include/core/SkMatrix44.h
@@ -491,7 +491,10 @@ private:
return 0 == fTypeMask;
}
+ inline const SkMScalar* values() const { return &fMat[0][0]; }
+
friend class SkColorSpace;
+ friend class SkColorSpace_XYZ;
};
#endif