aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-10 22:57:42 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-10 22:57:42 +0000
commit10b7dea3dd834ccd2ac2e6fbba80135cdfba2617 (patch)
tree8320e0ad36dae2d52175d7efc1278c2d600359a8
parent0a36f43d5f710c47b63bc4bbfde9bbb7d59a88d1 (diff)
Fix for DEPS compiler issue in SkGrFontScaler.cpp
unreviewed git-svn-id: http://skia.googlecode.com/svn/trunk@5476 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--src/gpu/SkGrFontScaler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/SkGrFontScaler.cpp b/src/gpu/SkGrFontScaler.cpp
index 208e46dfc5..42774f5c1a 100644
--- a/src/gpu/SkGrFontScaler.cpp
+++ b/src/gpu/SkGrFontScaler.cpp
@@ -172,6 +172,8 @@ bool SkGrFontScaler::getPackedGlyphImage(GrGlyph::PackedID packed,
expand_bits(rgba8888, bits, width, height, dstRB, srcRB);
break;
}
+ default:
+ GrCrash("Unknown GrMaskFormat");
}
} else if (srcRB == dstRB) {
memcpy(dst, src, dstRB * height);