Title: [88269] trunk/Source/WebCore
Revision
88269
Author
[email protected]
Date
2011-06-07 15:01:06 -0700 (Tue, 07 Jun 2011)

Log Message

Build fix after r88260.

* platform/graphics/win/FontCacheWin.cpp:
(WebCore::FontCache::getFontDataForCharacters): Update to use enum instead of bool.
* platform/graphics/wince/FontCacheWinCE.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (88268 => 88269)


--- trunk/Source/WebCore/ChangeLog	2011-06-07 21:31:27 UTC (rev 88268)
+++ trunk/Source/WebCore/ChangeLog	2011-06-07 22:01:06 UTC (rev 88269)
@@ -1,3 +1,11 @@
+2011-06-07  Brian Weinstein  <[email protected]>
+
+        Build fix after r88260.
+
+        * platform/graphics/win/FontCacheWin.cpp:
+        (WebCore::FontCache::getFontDataForCharacters): Update to use enum instead of bool.
+        * platform/graphics/wince/FontCacheWinCE.cpp:
+
 2011-06-07  Rob Buis  <[email protected]>
 
         Reviewed by Dirk Schulze.

Modified: trunk/Source/WebCore/platform/graphics/win/FontCacheWin.cpp (88268 => 88269)


--- trunk/Source/WebCore/platform/graphics/win/FontCacheWin.cpp	2011-06-07 21:31:27 UTC (rev 88268)
+++ trunk/Source/WebCore/platform/graphics/win/FontCacheWin.cpp	2011-06-07 22:01:06 UTC (rev 88269)
@@ -285,7 +285,7 @@
         if (!familyName.isEmpty()) {
             FontPlatformData* result = getCachedFontPlatformData(font.fontDescription(), familyName);
             if (result)
-                fontData = getCachedFontData(result, false);
+                fontData = getCachedFontData(result, DoNotRetain);
         }
 
         SelectObject(hdc, oldFont);

Modified: trunk/Source/WebCore/platform/graphics/wince/FontCacheWinCE.cpp (88268 => 88269)


--- trunk/Source/WebCore/platform/graphics/wince/FontCacheWinCE.cpp	2011-06-07 21:31:27 UTC (rev 88268)
+++ trunk/Source/WebCore/platform/graphics/wince/FontCacheWinCE.cpp	2011-06-07 22:01:06 UTC (rev 88269)
@@ -308,7 +308,7 @@
 
         FontPlatformData* result = getCachedFontPlatformData(fontDescription, familyName);
         if (result && result->hash() != origFont.hash()) {
-            if (SimpleFontData* fontData = getCachedFontData(result, false))
+            if (SimpleFontData* fontData = getCachedFontData(result, DoNotRetain))
                 return fontData;
         }
     }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to