mark default constructor for SkMatrix44 as deprecated, since it calls setIdentity()
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 16 Jan 2013 16:28:58 +0000 (16:28 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 16 Jan 2013 16:28:58 +0000 (16:28 +0000)
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

include/utils/SkMatrix44.h

index 22cbd79..41f1a30 100644 (file)
@@ -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) {