Title: [174457] trunk/Source/WebCore
- Revision
- 174457
- Author
- [email protected]
- Date
- 2014-10-08 10:14:04 -0700 (Wed, 08 Oct 2014)
Log Message
Unreviewed build fix after r174456.
I was comparing a signed int to an unsigned one.
* platform/graphics/mac/FontCacheMac.mm:
(WebCore::shouldAutoActivateFontIfNeeded):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (174456 => 174457)
--- trunk/Source/WebCore/ChangeLog 2014-10-08 16:20:37 UTC (rev 174456)
+++ trunk/Source/WebCore/ChangeLog 2014-10-08 17:14:04 UTC (rev 174457)
@@ -1,3 +1,12 @@
+2014-10-08 Chris Dumez <[email protected]>
+
+ Unreviewed build fix after r174456.
+
+ I was comparing a signed int to an unsigned one.
+
+ * platform/graphics/mac/FontCacheMac.mm:
+ (WebCore::shouldAutoActivateFontIfNeeded):
+
2014-10-08 Christophe Dumez <[email protected]>
[Mac] We are spending a lot of time loading fonts when loading weather.com
Modified: trunk/Source/WebCore/platform/graphics/mac/FontCacheMac.mm (174456 => 174457)
--- trunk/Source/WebCore/platform/graphics/mac/FontCacheMac.mm 2014-10-08 16:20:37 UTC (rev 174456)
+++ trunk/Source/WebCore/platform/graphics/mac/FontCacheMac.mm 2014-10-08 17:14:04 UTC (rev 174457)
@@ -100,7 +100,7 @@
#endif
static NeverDestroyed<HashSet<AtomicString>> knownFamilies;
- static const unsigned maxCacheSize = 128;
+ static const int maxCacheSize = 128;
ASSERT(knownFamilies.get().size() <= maxCacheSize);
if (knownFamilies.get().size() == maxCacheSize)
knownFamilies.get().remove(knownFamilies.get().begin());
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes