Title: [201229] trunk/Source/WebCore
- Revision
- 201229
- Author
- [email protected]
- Date
- 2016-05-20 15:28:40 -0700 (Fri, 20 May 2016)
Log Message
Allow named images on iOS
https://bugs.webkit.org/show_bug.cgi?id=157960
rdar://problem/26396532
Reviewed by Dean Jackson.
USE(NEW_THEME) is false on iOS so force named images to be drawn by checking PLATFORM(IOS) as well.
* platform/graphics/NamedImageGeneratedImage.cpp:
(WebCore::NamedImageGeneratedImage::draw):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (201228 => 201229)
--- trunk/Source/WebCore/ChangeLog 2016-05-20 22:10:58 UTC (rev 201228)
+++ trunk/Source/WebCore/ChangeLog 2016-05-20 22:28:40 UTC (rev 201229)
@@ -1,3 +1,16 @@
+2016-05-20 Anders Carlsson <[email protected]>
+
+ Allow named images on iOS
+ https://bugs.webkit.org/show_bug.cgi?id=157960
+ rdar://problem/26396532
+
+ Reviewed by Dean Jackson.
+
+ USE(NEW_THEME) is false on iOS so force named images to be drawn by checking PLATFORM(IOS) as well.
+
+ * platform/graphics/NamedImageGeneratedImage.cpp:
+ (WebCore::NamedImageGeneratedImage::draw):
+
2016-05-20 Myles C. Maxfield <[email protected]>
[Cocoa] REGRESSION(r184899): Ascent adjustments are applied to web fonts
Modified: trunk/Source/WebCore/platform/graphics/NamedImageGeneratedImage.cpp (201228 => 201229)
--- trunk/Source/WebCore/platform/graphics/NamedImageGeneratedImage.cpp 2016-05-20 22:10:58 UTC (rev 201228)
+++ trunk/Source/WebCore/platform/graphics/NamedImageGeneratedImage.cpp 2016-05-20 22:28:40 UTC (rev 201229)
@@ -42,7 +42,7 @@
void NamedImageGeneratedImage::draw(GraphicsContext& context, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator compositeOp, BlendMode blendMode, ImageOrientationDescription)
{
-#if USE(NEW_THEME)
+#if USE(NEW_THEME) || PLATFORM(IOS)
GraphicsContextStateSaver stateSaver(context);
context.setCompositeOperation(compositeOp, blendMode);
context.clip(dstRect);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes