Remove debug messages that are no longer needed.
authorvandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 4 Oct 2011 19:00:44 +0000 (19:00 +0000)
committervandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 4 Oct 2011 19:00:44 +0000 (19:00 +0000)
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

src/ports/SkFontHost_win.cpp

index 9581d01..fdd522d 100755 (executable)
@@ -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);