Title: [183582] trunk/Source/WebCore
Revision
183582
Author
[email protected]
Date
2015-04-29 15:32:46 -0700 (Wed, 29 Apr 2015)

Log Message

Unreviewed build fix.

* platform/graphics/mac/FontCacheMac.mm:
(WebCore::fontWithFamily):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (183581 => 183582)


--- trunk/Source/WebCore/ChangeLog	2015-04-29 22:12:31 UTC (rev 183581)
+++ trunk/Source/WebCore/ChangeLog	2015-04-29 22:32:46 UTC (rev 183582)
@@ -1,3 +1,10 @@
+2015-04-29  Myles C. Maxfield  <[email protected]>
+
+        Unreviewed build fix.
+
+        * platform/graphics/mac/FontCacheMac.mm:
+        (WebCore::fontWithFamily):
+
 2015-04-29  Eric Carlson  <[email protected]>
 
         Some media tests assert after r183096

Modified: trunk/Source/WebCore/platform/graphics/mac/FontCacheMac.mm (183581 => 183582)


--- trunk/Source/WebCore/platform/graphics/mac/FontCacheMac.mm	2015-04-29 22:12:31 UTC (rev 183581)
+++ trunk/Source/WebCore/platform/graphics/mac/FontCacheMac.mm	2015-04-29 22:32:46 UTC (rev 183582)
@@ -230,7 +230,7 @@
 
 #if ENABLE(PLATFORM_FONT_LOOKUP)
 
-    if (family.length() > 0 && family[0] == '.')
+    if (family.length() > 0 && family.string().at(0) == '.')
         return [NSFont fontWithName:desiredFamily size:size];
     const auto& whitelist = fontWhitelist();
     if (whitelist.size() && !whitelist.contains(family.lower()))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to