Chromium Code Reviews| Index: ui/gfx/render_text_win.cc |
| =================================================================== |
| --- ui/gfx/render_text_win.cc (revision 160607) |
| +++ ui/gfx/render_text_win.cc (working copy) |
| @@ -646,7 +646,8 @@ |
| HRESULT hr = ShapeTextRunWithFont(run, current_font); |
| bool glyphs_missing = false; |
| - if (hr == USP_E_SCRIPT_NOT_IN_FONT) { |
| + if (hr == USP_E_SCRIPT_NOT_IN_FONT || |
|
Vitaly Buka (NO REVIEWS)
2012/10/08 23:32:51
I don't know why, but this error happens on JA XP
|
| + hr == __HRESULT_FROM_WIN32(ERROR_INVALID_WINDOW_HANDLE)) { |
| glyphs_missing = true; |
| } else if (hr == S_OK) { |
| // If |hr| is S_OK, there could still be missing glyphs in the output. |