fix debug build
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 23 Apr 2012 14:09:38 +0000 (14:09 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 23 Apr 2012 14:09:38 +0000 (14:09 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@3750 2bbb7eff-a529-9590-31e7-b0007b416f81

src/core/SkGlyphCache.cpp

index c8664f4a823ea145af33cb34f3fcbe008e9dac7e..f6fa3a00ce8719ad9c1d6efe8f9e7a91eb8c7bfa 100644 (file)
@@ -586,6 +586,7 @@ SkGlyphCache* SkGlyphCache::FindTail(SkGlyphCache* cache) {
 void SkGlyphCache_Globals::validate() const {
     size_t computed = 0;
     
+    const SkGlyphCache* head = fHead;
     while (head != NULL) {
         computed += head->fMemoryUsed;
         head = head->fNext;