Title: [209386] trunk/Source/WebCore
Revision
209386
Author
[email protected]
Date
2016-12-05 21:39:15 -0800 (Mon, 05 Dec 2016)

Log Message

Build fix followup to r209379:

STP 19 fails to launch on 16B255
https://bugs.webkit.org/show_bug.cgi?id=165388
-and corresponding-
rdar://problem/29514476

Patch by Brady Eidson <[email protected]> on 2016-12-05
Rubberstamped by Tim Horton.

No new tests (No behavior change).

* platform/spi/cocoa/NSTouchBarSPI.h: Strategically relocate NS_ASSUME_NONNULL* macros.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (209385 => 209386)


--- trunk/Source/WebCore/ChangeLog	2016-12-06 05:34:54 UTC (rev 209385)
+++ trunk/Source/WebCore/ChangeLog	2016-12-06 05:39:15 UTC (rev 209386)
@@ -15,6 +15,17 @@
 
 2016-12-05  Dave Hyatt  <[email protected]>
 
+        [CSS Parser] Make sure the SVGPaint URI and currentColor style still paints using the URI
+        https://bugs.webkit.org/show_bug.cgi?id=165457
+
+        Reviewed by Zalan Bujtas.
+
+        * rendering/svg/SVGResources.cpp:
+        (WebCore::paintingResourceFromSVGPaint):
+        Add support for this paint type. The old parser doesn't use it.
+
+2016-12-05  Dave Hyatt  <[email protected]>
+
         [CSS Parser] Fix dashboard region parsing
         https://bugs.webkit.org/show_bug.cgi?id=165456
 

Modified: trunk/Source/WebCore/rendering/svg/SVGResources.cpp (209385 => 209386)


--- trunk/Source/WebCore/rendering/svg/SVGResources.cpp	2016-12-06 05:34:54 UTC (rev 209385)
+++ trunk/Source/WebCore/rendering/svg/SVGResources.cpp	2016-12-06 05:39:15 UTC (rev 209386)
@@ -157,7 +157,7 @@
 
 static inline RenderSVGResourceContainer* paintingResourceFromSVGPaint(Document& document, const SVGPaint::SVGPaintType& paintType, const String& paintUri, AtomicString& id, bool& hasPendingResource)
 {
-    if (paintType != SVGPaint::SVG_PAINTTYPE_URI && paintType != SVGPaint::SVG_PAINTTYPE_URI_RGBCOLOR)
+    if (paintType != SVGPaint::SVG_PAINTTYPE_URI && paintType != SVGPaint::SVG_PAINTTYPE_URI_RGBCOLOR && paintType != SVGPaint::SVG_PAINTTYPE_URI_CURRENTCOLOR)
         return 0;
 
     id = SVGURIReference::fragmentIdentifierFromIRIString(paintUri, document);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to