Title: [225575] trunk/Source/WebCore
- Revision
- 225575
- Author
- commit-qu...@webkit.org
- Date
- 2017-12-06 09:31:36 -0800 (Wed, 06 Dec 2017)
Log Message
[Mac] REGRESSION (r224527): Drawing a path with box-shadow takes double the blur-radius on Retina display
https://bugs.webkit.org/show_bug.cgi?id=180460
<rdar://problem/35869866>
Patch by Said Abou-Hallawa <sabouhall...@apple.com> on 2017-12-06
Reviewed by Daniel Bates.
Disable using CGContextDrawPathDirect() for macOS High Sierra or earlier.
This API has a bug when drawing a path with a shadow on Retina display.
* platform/graphics/cg/GraphicsContextCG.cpp:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (225574 => 225575)
--- trunk/Source/WebCore/ChangeLog 2017-12-06 17:13:35 UTC (rev 225574)
+++ trunk/Source/WebCore/ChangeLog 2017-12-06 17:31:36 UTC (rev 225575)
@@ -1,3 +1,16 @@
+2017-12-06 Said Abou-Hallawa <sabouhall...@apple.com>
+
+ [Mac] REGRESSION (r224527): Drawing a path with box-shadow takes double the blur-radius on Retina display
+ https://bugs.webkit.org/show_bug.cgi?id=180460
+ <rdar://problem/35869866>
+
+ Reviewed by Daniel Bates.
+
+ Disable using CGContextDrawPathDirect() for macOS High Sierra or earlier.
+ This API has a bug when drawing a path with a shadow on Retina display.
+
+ * platform/graphics/cg/GraphicsContextCG.cpp:
+
2017-12-06 Youenn Fablet <you...@apple.com>
Service Worker fetch should filter HTTP headers that are added by CachedResourceLoader/CachedResource
Modified: trunk/Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp (225574 => 225575)
--- trunk/Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp 2017-12-06 17:13:35 UTC (rev 225574)
+++ trunk/Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp 2017-12-06 17:31:36 UTC (rev 225575)
@@ -52,7 +52,7 @@
#include <WebKitSystemInterface/WebKitSystemInterface.h>
#endif
-#define USE_DRAW_PATH_DIRECT (PLATFORM(IOS) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200))
+#define USE_DRAW_PATH_DIRECT (PLATFORM(IOS) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400))
// FIXME: The following using declaration should be in <wtf/HashFunctions.h>.
using WTF::pairIntHash;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes