Changeset 97426 in webkit


Ignore:
Timestamp:
Oct 13, 2011 5:17:22 PM (13 years ago)
Author:
simonjam@chromium.org
Message:

Ensure font loaded before calling Skia to drawPosText in Chrome sandbox
https://bugs.webkit.org/show_bug.cgi?id=69370

Patch by Arthur Hsu <arthurhsu@chromium.org> on 2011-10-13
Reviewed by James Robinson.

  • platform/graphics/chromium/FontChromiumWin.cpp:

(WebCore::Font::drawGlyphs):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r97424 r97426  
     12011-10-13  Arthur Hsu  <arthurhsu@chromium.org>
     2
     3        Ensure font loaded before calling Skia to drawPosText in Chrome sandbox
     4        https://bugs.webkit.org/show_bug.cgi?id=69370
     5
     6        Reviewed by James Robinson.
     7
     8        * platform/graphics/chromium/FontChromiumWin.cpp:
     9        (WebCore::Font::drawGlyphs):
     10
    1112011-10-13  Kentaro Hara  <haraken@chromium.org>
    212
  • trunk/Source/WebCore/platform/graphics/chromium/FontChromiumWin.cpp

    r97149 r97426  
    396396
    397397    HFONT hfont = font->platformData().hfont();
     398    PlatformSupport::ensureFontLoaded(hfont);
    398399
    399400    // We draw the glyphs in chunks to avoid having to do a heap allocation for
Note: See TracChangeset for help on using the changeset viewer.