aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/core/SkScalerContext.cpp2
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;