Re-attempting Linux debug GL interface compiler complaint fix.
Fixed two additional compiler complaints.
http://codereview.appspot.com/5845068/
git-svn-id: http://skia.googlecode.com/svn/trunk@3456 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/utils/SkDumpCanvas.cpp b/src/utils/SkDumpCanvas.cpp
index c9b4a95..3b28fe7 100644
--- a/src/utils/SkDumpCanvas.cpp
+++ b/src/utils/SkDumpCanvas.cpp
@@ -138,9 +138,17 @@
str->printf("\"%.*S\"%s", SkMax32(len, 32), text,
len > 64 ? "..." : "");
break;
+ case SkPaint::kUTF32_TextEncoding:
+ str->printf("\"%.*S\"%s", SkMax32(len, 32), text,
+ len > 128 ? "..." : "");
+ break;
case SkPaint::kGlyphID_TextEncoding:
str->set("<glyphs>");
break;
+
+ default:
+ SkASSERT(false);
+ break;
}
}