diff options
author | 2011-10-04 19:00:44 +0000 | |
---|---|---|
committer | 2011-10-04 19:00:44 +0000 | |
commit | 127c3be42b5f07c5ae2f87760a6855c9efecf8a8 (patch) | |
tree | 6f796d0455643e75a54195452061aab989207c77 | |
parent | 675dd888db366a68c9225fd61ed1ef624a806c2c (diff) |
Remove debug messages that are no longer needed.
Code from arthurhsu@chromium.org
Original CL: http://codereview.appspot.com/5186045/
Review URL: http://codereview.appspot.com/5190042
git-svn-id: http://skia.googlecode.com/svn/trunk@2406 2bbb7eff-a529-9590-31e7-b0007b416f81
-rwxr-xr-x | src/ports/SkFontHost_win.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/ports/SkFontHost_win.cpp b/src/ports/SkFontHost_win.cpp index 9581d01cf6..fdd522d253 100755 --- a/src/ports/SkFontHost_win.cpp +++ b/src/ports/SkFontHost_win.cpp @@ -1052,22 +1052,12 @@ SkAdvancedTypefaceMetrics* SkFontHost::GetAdvancedTypefaceMetrics( OUTLINETEXTMETRIC otm; if (!GetOutlineTextMetrics(hdc, sizeof(otm), &otm) || !GetTextFace(hdc, LF_FACESIZE, lf.lfFaceName)) { - // TODO(arthurhsu): remove after resolving http://crbug.com/94421 - DWORD error_code = GetLastError(); - SK_DEBUGBREAK(error_code == 0); // Possibly caused by sandboxing. - SK_DEBUGBREAK(false); // GDI corruption. - goto Error; } lf.lfHeight = -SkToS32(otm.otmEMSquare); designFont = CreateFontIndirect(&lf); SelectObject(hdc, designFont); if (!GetOutlineTextMetrics(hdc, sizeof(otm), &otm)) { - // TODO(arthurhsu): remove after resolving http://crbug.com/94421 - DWORD error_code = GetLastError(); - SK_DEBUGBREAK(error_code == 0); // Possibly caused by sandboxing. - SK_DEBUGBREAK(false); // GDI corruption. - goto Error; } const unsigned glyphCount = calculateGlyphCount(hdc); |