commit | 4b60dbe661feadc276f911ee6dfc2058e5aea7ca | [log] [tgz] |
---|---|---|
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Jul 09 15:29:32 2013 +0000 |
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Jul 09 15:29:32 2013 +0000 |
tree | 1a15b0f893fa3584b62e3250508239b0904175d3 | |
parent | e1b75b4096c8ba9a569ae33d580806edd3c4a97a [diff] |
move failable work outside of constructors for SkGlyphCache and SkScalerContextGDI. If we fail, try to purge everything and try again, in case the failure was from memory/os-resource exhaustion (e.g. out of HDC handles in windows) BUG= Review URL: https://codereview.chromium.org/18132009 git-svn-id: http://skia.googlecode.com/svn/trunk@9930 2bbb7eff-a529-9590-31e7-b0007b416f81