Title: [252169] trunk/Source/WebCore
- Revision
- 252169
- Author
- [email protected]
- Date
- 2019-11-06 19:36:36 -0800 (Wed, 06 Nov 2019)
Log Message
Change the UIWebView layer border colors to more strongly differentiate them from WKWebView's colors
https://bugs.webkit.org/show_bug.cgi?id=203940
rdar://problem/56708548
Reviewed by Tim Horton, Wenson Hsieh.
Change layer border colors (which also affect the repaint counter) in UIWebView to use
a chartreuse color, so it's easy to tell at a glance whether an app is using the deprecated
UIWebView.
* platform/ios/LegacyTileCache.mm:
(WebCore::LegacyTileCache::colorForGridTileBorder const):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (252168 => 252169)
--- trunk/Source/WebCore/ChangeLog 2019-11-07 02:53:40 UTC (rev 252168)
+++ trunk/Source/WebCore/ChangeLog 2019-11-07 03:36:36 UTC (rev 252169)
@@ -26,6 +26,21 @@
* testing/js/WebCoreTestSupportPrefix.h: Define WEBCORE_TESTSUPPORT_EXPORT empty.
* WebCorePrefix.h: Removed WEBCORE_TESTSUPPORT_EXPORT definition.
+2019-11-06 Simon Fraser <[email protected]>
+
+ Change the UIWebView layer border colors to more strongly differentiate them from WKWebView's colors
+ https://bugs.webkit.org/show_bug.cgi?id=203940
+ rdar://problem/56708548
+
+ Reviewed by Tim Horton, Wenson Hsieh.
+
+ Change layer border colors (which also affect the repaint counter) in UIWebView to use
+ a chartreuse color, so it's easy to tell at a glance whether an app is using the deprecated
+ UIWebView.
+
+ * platform/ios/LegacyTileCache.mm:
+ (WebCore::LegacyTileCache::colorForGridTileBorder const):
+
2019-11-06 Jer Noble <[email protected]>
Screen locks while watching previously-muted-then-unmuted video
Modified: trunk/Source/WebCore/platform/ios/LegacyTileCache.mm (252168 => 252169)
--- trunk/Source/WebCore/platform/ios/LegacyTileCache.mm 2019-11-07 02:53:40 UTC (rev 252168)
+++ trunk/Source/WebCore/platform/ios/LegacyTileCache.mm 2019-11-07 03:36:36 UTC (rev 252169)
@@ -462,9 +462,9 @@
Color LegacyTileCache::colorForGridTileBorder(LegacyTileGrid* grid) const
{
if (grid == m_zoomedOutTileGrid.get())
- return Color(.3f, .0f, 0.4f, 0.5f);
+ return Color(0.2f, 1.0f, 0.f, 0.5f);
- return Color(.0f, .0f, 0.4f, 0.5f);
+ return Color(0.2f, 0.9f, 0.f, 0.5f);
}
static bool shouldRepaintInPieces(const CGRect& dirtyRect, CGSRegionObj dirtyRegion, CGFloat contentsScale)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes