[wx] Build fix after introduction of FontCache::ShouldRetain.
authorkevino@webkit.org <kevino@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Jun 2011 19:41:55 +0000 (19:41 +0000)
committerkevino@webkit.org <kevino@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Jun 2011 19:41:55 +0000 (19:41 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@88371 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/wx/FontCacheWx.cpp

index cc2a129..640e4c6 100644 (file)
@@ -1,3 +1,10 @@
+2011-06-08  Kevin Ollivier  <kevino@theolliviers.com>
+
+        [wx] Build fix after introduction of FontCache::ShouldRetain
+
+        * platform/graphics/wx/FontCacheWx.cpp:
+        (WebCore::FontCache::getFontDataForCharacters):
+
 2011-06-08  Sheriff Bot  <webkit.review.bot@gmail.com>
 
         Unreviewed, rolling out r88365.
index e3da5c8..b77f155 100644 (file)
@@ -42,7 +42,7 @@ void FontCache::platformInit()
 const SimpleFontData* FontCache::getFontDataForCharacters(const Font& font, const UChar* characters, int length)
 {
     SimpleFontData* fontData = 0;
-    fontData = getCachedFontData(font.fontDescription(), font.family().family(), false, false);
+    fontData = getCachedFontData(font.fontDescription(), font.family().family(), false, DoNotRetain);
     if (!fontData->containsCharacters(characters, length))
         fontData = getSimilarFontPlatformData(font);
     if (!fontData->containsCharacters(characters, length))