Title: [188243] trunk/Source/WebCore
Revision
188243
Author
mmaxfi...@apple.com
Date
2015-08-10 19:49:35 -0700 (Mon, 10 Aug 2015)

Log Message

Post-review fixup after r188195
https://bugs.webkit.org/show_bug.cgi?id=147806

Unreviewed.

Covered by fast/text/crash-obscure-text.html.

* platform/graphics/cocoa/FontPlatformDataCocoa.mm:
(WebCore::FontPlatformData::objectForEqualityCheck):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (188242 => 188243)


--- trunk/Source/WebCore/ChangeLog	2015-08-11 01:26:30 UTC (rev 188242)
+++ trunk/Source/WebCore/ChangeLog	2015-08-11 02:49:35 UTC (rev 188243)
@@ -1,3 +1,15 @@
+2015-08-10  Myles C. Maxfield  <mmaxfi...@apple.com>
+
+        Post-review fixup after r188195
+        https://bugs.webkit.org/show_bug.cgi?id=147806
+
+        Unreviewed.
+
+        Covered by fast/text/crash-obscure-text.html.
+
+        * platform/graphics/cocoa/FontPlatformDataCocoa.mm:
+        (WebCore::FontPlatformData::objectForEqualityCheck):
+
 2015-08-10  Alex Christensen  <achristen...@webkit.org>
 
         Build TestWebKitAPI with CMake on Windows

Modified: trunk/Source/WebCore/platform/graphics/cocoa/FontPlatformDataCocoa.mm (188242 => 188243)


--- trunk/Source/WebCore/platform/graphics/cocoa/FontPlatformDataCocoa.mm	2015-08-11 01:26:30 UTC (rev 188242)
+++ trunk/Source/WebCore/platform/graphics/cocoa/FontPlatformDataCocoa.mm	2015-08-11 02:49:35 UTC (rev 188243)
@@ -214,7 +214,7 @@
     // FIXME: https://bugs.webkit.org/show_bug.cgi?id=138683 This is a shallow pointer compare for web fonts
     // because the URL contains the address of the font. This means we might erroneously get false negatives.
     RetainPtr<CFURLRef> url = "" kCTFontReferenceURLAttribute)));
-    ASSERT(CFGetTypeID(url.get()) == CFURLGetTypeID());
+    ASSERT(!url || CFGetTypeID(url.get()) == CFURLGetTypeID());
     return url;
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to