Fix r13897.
authorbungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 21 Mar 2014 23:07:24 +0000 (23:07 +0000)
committerbungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 21 Mar 2014 23:07:24 +0000 (23:07 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@13899 2bbb7eff-a529-9590-31e7-b0007b416f81

include/ports/SkFontMgr_indirect.h

index b3f43be..b09c449 100644 (file)
@@ -30,8 +30,8 @@ public:
         : fImpl(SkRef(impl)), fProxy(SkRef(proxy))
     {
         fOnce.done = false;
-        fOnce.lock.shouldBeZero = 0;
-        SkDEBUGCODE(fOnce.lock.thisIsPrivate = 0;)
+        fOnce.lock.thisIsPrivate = 0;
+        SkDEBUGCODE(fOnce.lock.shouldBeZero = 0;)
     }
 
 protected:
@@ -67,7 +67,7 @@ private:
 
     struct DataEntry {
         uint32_t fDataId;  // key1
-        int fTtcIndex;  // key2
+        uint32_t fTtcIndex;  // key2
         SkTypeface* fTypeface;  // value: weak ref to typeface
 
         DataEntry() { }