Changeset 269529 in webkit
- Timestamp:
- Nov 6, 2020 12:21:44 PM (3 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r269526 r269529 1 2020-11-06 Alex Christensen <achristensen@webkit.org> 2 3 Fix build after adding files to UIProcess/API/Cocoa 4 https://bugs.webkit.org/show_bug.cgi?id=218664 5 6 There is some code that assumes that unified sources always combine sources into the same translation units. 7 inspectorWebView is used from _WKInspectorTesting.mm, but only defined in _WKInspector.mm so it should be added to a header. 8 _WKUserContentWorld also doesn't include WKObject.h or RetainPtr.h but uses both. 9 10 * UIProcess/API/Cocoa/_WKInspector.mm: 11 (-[_WKInspector inspectorWebView]): Deleted. 12 * UIProcess/API/Cocoa/_WKInspectorPrivateForTesting.h: 13 * UIProcess/API/Cocoa/_WKInspectorTesting.mm: 14 (-[_WKInspector inspectorWebView]): 15 * UIProcess/API/Cocoa/_WKUserContentWorldInternal.h: 16 1 17 2020-11-06 Wenson Hsieh <wenson_hsieh@apple.com> 2 18 -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKInspector.mm
r269524 r269529 32 32 #import "WebProcessProxy.h" 33 33 #import "_WKFrameHandleInternal.h" 34 #import "_WKInspectorPrivateForTesting.h" 34 35 #import <WebCore/FrameIdentifier.h> 35 36 #import <wtf/HashMap.h> … … 59 60 { 60 61 if (auto* page = _inspector->inspectedPage()) 61 return fromWebPageProxy(*page);62 return nil;63 }64 65 - (WKWebView *)inspectorWebView66 {67 if (auto* page = _inspector->inspectorPage())68 62 return fromWebPageProxy(*page); 69 63 return nil; -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKInspectorPrivateForTesting.h
r267411 r269529 28 28 @interface _WKInspector (WKTesting) 29 29 - (void)_openURLExternallyForTesting:(NSURL *)url useFrontendAPI:(BOOL)useFrontendAPI; 30 - (WKWebView *)inspectorWebView; 30 31 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKInspectorTesting.mm
r267411 r269529 26 26 #import "config.h" 27 27 28 #import "WKWebView .h"28 #import "WKWebViewInternal.h" 29 29 #import "_WKInspectorInternal.h" 30 30 #import "_WKInspectorPrivateForTesting.h" … … 40 40 @implementation _WKInspector (WKTesting) 41 41 42 - (WKWebView *)inspectorWebView 43 { 44 if (auto* page = _inspector->inspectorPage()) 45 return fromWebPageProxy(*page); 46 return nil; 47 } 48 42 49 - (void)_openURLExternallyForTesting:(NSURL *)url useFrontendAPI:(BOOL)useFrontendAPI 43 50 { -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKUserContentWorldInternal.h
r259843 r269529 24 24 */ 25 25 26 #import "WKObject.h" 26 27 #import "_WKUserContentWorld.h" 28 29 #import <wtf/RetainPtr.h> 27 30 28 31 @class WKContentWorld;
Note: See TracChangeset
for help on using the changeset viewer.