diff options
author | 2012-03-21 19:46:50 +0000 | |
---|---|---|
committer | 2012-03-21 19:46:50 +0000 | |
commit | 6970557055acaed619d7bb89451868e1570249b2 (patch) | |
tree | 791272428a3135e2788e9a77915a3de581a99513 /src/utils/SkDumpCanvas.cpp | |
parent | f6f123d23608a4a5fe9c812d2452039a18da7e0b (diff) |
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
Diffstat (limited to 'src/utils/SkDumpCanvas.cpp')
-rw-r--r-- | src/utils/SkDumpCanvas.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/utils/SkDumpCanvas.cpp b/src/utils/SkDumpCanvas.cpp index c9b4a955b5..3b28fe766d 100644 --- a/src/utils/SkDumpCanvas.cpp +++ b/src/utils/SkDumpCanvas.cpp @@ -138,9 +138,17 @@ static void toString(const void* text, size_t len, SkPaint::TextEncoding enc, 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; } } |