aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/utils
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-16 16:28:58 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-16 16:28:58 +0000
commitedb7713cd57cf055d8146c71953417bd2b4cae7c (patch)
treea9824c1688649810fdee31031449cc38a53915b2 /include/utils
parent4668e13c3778a04bb517e22a77a02cdb41a0f2c5 (diff)
mark default constructor for SkMatrix44 as deprecated, since it calls setIdentity()
and we have explicit (enum-based) constructors to distinguish that from uninitialized. git-svn-id: http://skia.googlecode.com/svn/trunk@7228 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/utils')
-rw-r--r--include/utils/SkMatrix44.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/utils/SkMatrix44.h b/include/utils/SkMatrix44.h
index 22cbd79ba0..41f1a30209 100644
--- a/include/utils/SkMatrix44.h
+++ b/include/utils/SkMatrix44.h
@@ -112,6 +112,7 @@ public:
SkMatrix44(Uninitialized_Constructor) { }
SkMatrix44(Identity_Constructor) { this->setIdentity(); }
+ // DEPRECATED: use the constructors that take an enum
SkMatrix44() { this->setIdentity(); }
SkMatrix44(const SkMatrix44& src) {