Title: [233748] trunk/Tools
- Revision
- 233748
- Author
- [email protected]
- Date
- 2018-07-11 17:44:24 -0700 (Wed, 11 Jul 2018)
Log Message
Force WKTR to use the light appearance
https://bugs.webkit.org/show_bug.cgi?id=187572
<rdar://problem/42097805>
Reviewed by Simon Fraser.
Set the NSAppearance on the NSWindow to light mode.
* WebKitTestRunner/mac/PlatformWebViewMac.mm:
(WTR::PlatformWebView::PlatformWebView): Use the Aqua appearance.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (233747 => 233748)
--- trunk/Tools/ChangeLog 2018-07-12 00:18:15 UTC (rev 233747)
+++ trunk/Tools/ChangeLog 2018-07-12 00:44:24 UTC (rev 233748)
@@ -1,3 +1,16 @@
+2018-07-11 Dean Jackson <[email protected]>
+
+ Force WKTR to use the light appearance
+ https://bugs.webkit.org/show_bug.cgi?id=187572
+ <rdar://problem/42097805>
+
+ Reviewed by Simon Fraser.
+
+ Set the NSAppearance on the NSWindow to light mode.
+
+ * WebKitTestRunner/mac/PlatformWebViewMac.mm:
+ (WTR::PlatformWebView::PlatformWebView): Use the Aqua appearance.
+
2018-07-11 Alex Christensen <[email protected]>
Reduce size of WebCore::URL
Modified: trunk/Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm (233747 => 233748)
--- trunk/Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm 2018-07-12 00:18:15 UTC (rev 233747)
+++ trunk/Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm 2018-07-12 00:44:24 UTC (rev 233748)
@@ -149,6 +149,7 @@
m_window = [[WebKitTestRunnerWindow alloc] initWithContentRect:windowRect styleMask:NSWindowStyleMaskBorderless backing:(NSBackingStoreType)_NSBackingStoreUnbuffered defer:YES];
m_window.platformWebView = this;
[m_window setColorSpace:[firstScreen colorSpace]];
+ [m_window setAppearance:[NSAppearance appearanceNamed:NSAppearanceNameAqua]];
[m_window setCollectionBehavior:NSWindowCollectionBehaviorStationary];
[[m_window contentView] addSubview:m_view];
if (m_options.shouldShowWebView)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes