diff options
author | agl@chromium.org <agl@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2009-12-02 22:24:40 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2009-12-02 22:24:40 +0000 |
commit | 297a11cbc63d90c0c28cfaece87f25bac6a55258 (patch) | |
tree | 6f41b8e88e6314ad23b656fe2b6fcc49cb4a5922 | |
parent | aa4f0c682d4eced5c0c3aa711f76d440eae60588 (diff) |
Remove check for empty devPath
Removes check for empty devPath since it was causing an assertion failure on
Mac OS X when drawing small fonts within the browser action badges.
BUG=none
TEST=none
Patch by andybons1.
http://codereview.appspot.com/163056
git-svn-id: http://skia.googlecode.com/svn/trunk@450 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | src/core/SkScalerContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkScalerContext.cpp b/src/core/SkScalerContext.cpp index 30acff7eb9..413f06c1f3 100644 --- a/src/core/SkScalerContext.cpp +++ b/src/core/SkScalerContext.cpp @@ -319,7 +319,7 @@ void SkScalerContext::getMetrics(SkGlyph* glyph) { SkIRect ir; devPath.getBounds().roundOut(&ir); - if (ir.isEmpty() || !ir.is16Bit()) { + if (!ir.is16Bit()) { goto SK_ERROR; } glyph->fLeft = ir.fLeft; |