Index: src/ports/SkFontHost_win.cpp |
=================================================================== |
--- src/ports/SkFontHost_win.cpp (revision 8437) |
+++ src/ports/SkFontHost_win.cpp (working copy) |
@@ -1386,7 +1386,7 @@ |
info->fStemV = 0; |
info->fCapHeight = 0; |
info->fBBox = SkIRect::MakeEmpty(); |
- return info; |
+ goto ReturnInfo; |
} |
// If this bit is clear the font is a fixed pitch font. |
@@ -1453,6 +1453,7 @@ |
} |
Error: |
Vitaly Buka (NO REVIEWS)
2013/04/06 19:33:43
Why not just rename Error: -> Exit: or Return:
edisonn
2013/04/08 15:09:43
this message was lost somehow:
I prefer ReturnInfo
|
+ReturnInfo: |
SelectObject(hdc, savefont); |
DeleteObject(designFont); |
DeleteObject(font); |