Title: [229715] trunk/Source/WebKit
- Revision
- 229715
- Author
- bb...@apple.com
- Date
- 2018-03-19 14:22:51 -0700 (Mon, 19 Mar 2018)
Log Message
Web Inspector: clean up WKWebView configuration code
https://bugs.webkit.org/show_bug.cgi?id=183747
<rdar://problem/38629343>
Reviewed by Timothy Hatcher.
* UIProcess/mac/WKInspectorViewController.mm:
(-[WKInspectorViewController webView]): Always use system
appearance for Inspector's web content.
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (229714 => 229715)
--- trunk/Source/WebKit/ChangeLog 2018-03-19 21:22:15 UTC (rev 229714)
+++ trunk/Source/WebKit/ChangeLog 2018-03-19 21:22:51 UTC (rev 229715)
@@ -1,3 +1,15 @@
+2018-03-19 Brian Burg <bb...@apple.com>
+
+ Web Inspector: clean up WKWebView configuration code
+ https://bugs.webkit.org/show_bug.cgi?id=183747
+ <rdar://problem/38629343>
+
+ Reviewed by Timothy Hatcher.
+
+ * UIProcess/mac/WKInspectorViewController.mm:
+ (-[WKInspectorViewController webView]): Always use system
+ appearance for Inspector's web content.
+
2018-03-19 Eric Carlson <eric.carl...@apple.com>
[Extra zoom mode] Require fullscreen for video playback
Modified: trunk/Source/WebKit/UIProcess/mac/WKInspectorViewController.mm (229714 => 229715)
--- trunk/Source/WebKit/UIProcess/mac/WKInspectorViewController.mm 2018-03-19 21:22:15 UTC (rev 229714)
+++ trunk/Source/WebKit/UIProcess/mac/WKInspectorViewController.mm 2018-03-19 21:22:51 UTC (rev 229715)
@@ -37,8 +37,8 @@
#import "WKPreferencesPrivate.h"
#import "WKProcessPoolInternal.h"
#import "WKUIDelegatePrivate.h"
-#import "WKWebView.h"
#import "WKWebViewConfigurationPrivate.h"
+#import "WKWebViewPrivate.h"
#import "WeakObjCPtr.h"
#import "WebInspectorProxy.h"
#import "WebInspectorUtilities.h"
@@ -93,6 +93,7 @@
[_webView setNavigationDelegate:self];
[_webView setInspectorWKWebViewDelegate:self];
[_webView _setAutomaticallyAdjustsContentInsets:NO];
+ [_webView _setUseSystemAppearance:YES];
[_webView setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes