Title: [97426] trunk/Source/WebCore
- Revision
- 97426
- Author
- [email protected]
- Date
- 2011-10-13 17:17:22 -0700 (Thu, 13 Oct 2011)
Log 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 <[email protected]> on 2011-10-13
Reviewed by James Robinson.
* platform/graphics/chromium/FontChromiumWin.cpp:
(WebCore::Font::drawGlyphs):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (97425 => 97426)
--- trunk/Source/WebCore/ChangeLog 2011-10-13 23:51:59 UTC (rev 97425)
+++ trunk/Source/WebCore/ChangeLog 2011-10-14 00:17:22 UTC (rev 97426)
@@ -1,3 +1,13 @@
+2011-10-13 Arthur Hsu <[email protected]>
+
+ Ensure font loaded before calling Skia to drawPosText in Chrome sandbox
+ https://bugs.webkit.org/show_bug.cgi?id=69370
+
+ Reviewed by James Robinson.
+
+ * platform/graphics/chromium/FontChromiumWin.cpp:
+ (WebCore::Font::drawGlyphs):
+
2011-10-13 Kentaro Hara <[email protected]>
Regarding constructor, replace [ConstructorWith=...] IDL with [CallWith=...] IDL
Modified: trunk/Source/WebCore/platform/graphics/chromium/FontChromiumWin.cpp (97425 => 97426)
--- trunk/Source/WebCore/platform/graphics/chromium/FontChromiumWin.cpp 2011-10-13 23:51:59 UTC (rev 97425)
+++ trunk/Source/WebCore/platform/graphics/chromium/FontChromiumWin.cpp 2011-10-14 00:17:22 UTC (rev 97426)
@@ -395,6 +395,7 @@
return;
HFONT hfont = font->platformData().hfont();
+ PlatformSupport::ensureFontLoaded(hfont);
// We draw the glyphs in chunks to avoid having to do a heap allocation for
// the arrays of characters and advances.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes