aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-11-12 20:43:59 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-11-12 20:43:59 +0000
commitdd31131021e2b5ef16b4f3cdec3cf328adcfd6cc (patch)
treefc017cb337f74ef50589098cc220d62b611ae09c
parentd26c70688fda9dd33369f5ea9da78f26c8666d63 (diff)
add const to src parameter for mapMScalars()
git-svn-id: http://skia.googlecode.com/svn/trunk@6386 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--include/utils/SkMatrix44.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/utils/SkMatrix44.h b/include/utils/SkMatrix44.h
index 9926b79929..cff0d04a3d 100644
--- a/include/utils/SkMatrix44.h
+++ b/include/utils/SkMatrix44.h
@@ -201,9 +201,9 @@ public:
}
#ifdef SK_MSCALAR_IS_DOUBLE
- void mapMScalars(SkMScalar src[4], SkMScalar dst[4]) const;
+ void mapMScalars(const SkMScalar src[4], SkMScalar dst[4]) const;
#else
- void mapMScalars(SkMScalar src[4], SkMScalar dst[4]) const {
+ void mapMScalars(const SkMScalar src[4], SkMScalar dst[4]) const {
this->mapScalars(src, dst);
}
#endif