Win32 build fix (unreviewed).

git-svn-id: http://skia.googlecode.com/svn/trunk@446 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
senorblanco@chromium.org 2009-11-25 17:14:32 +00:00
parent 55e76b209c
commit 7767cd87fd

View File

@ -312,7 +312,7 @@ void SkScalerContext::getMetrics(SkGlyph* glyph) {
glyph->fWidth = SkToU16(mask.fBounds.width());
glyph->fHeight = SkToU16(mask.fBounds.height());
} else {
goto ERROR;
goto SK_ERROR;
}
} else {
// just use devPath
@ -320,7 +320,7 @@ void SkScalerContext::getMetrics(SkGlyph* glyph) {
devPath.getBounds().roundOut(&ir);
if (ir.isEmpty() || !ir.is16Bit()) {
goto ERROR;
goto SK_ERROR;
}
glyph->fLeft = ir.fLeft;
glyph->fTop = ir.fTop;
@ -350,7 +350,7 @@ void SkScalerContext::getMetrics(SkGlyph* glyph) {
}
return;
ERROR:
SK_ERROR:
// draw nothing 'cause we failed
glyph->fLeft = 0;
glyph->fTop = 0;