Bug 243827

Summary: WebKit build failure: Use of undeclared identifier 'InspectorFrontendAPIDispatcher'; did you mean 'WebCore::InspectorFrontendAPIDispatcher'?
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: WebKit Misc.Assignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Description Timothy Hatcher 2022-08-11 08:31:16 PDT
/.../Source/WebKit/WebProcess/Inspector/WebInspectorUIExtensionController.cpp:388:206: error: use of undeclared identifier 'InspectorFrontendAPIDispatcher'; did you mean 'WebCore::InspectorFrontendAPIDispatcher'?
    m_frontendClient->frontendAPIDispatcher().dispatchCommandWithResultAsync("navigateTabForExtension"_s, WTFMove(arguments), [weakThis = WeakPtr { *this }, completionHandler = WTFMove(completionHandler)](InspectorFrontendAPIDispatcher::EvaluationResult&& result) mutable {
                                                                                                                                                                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                                                                                                                                             WebCore::InspectorFrontendAPIDispatcher
In file included from /.../WebKit/install/Symbols/BuiltProducts/DerivedSources/WebKit/unified-sources/UnifiedSource104.cpp:1:
In file included from /.../WebKit/WebKit-7614.1.25.9.1/Source/WebKit/WebProcess/Inspector/WebInspectorUIExtensionController.cpp:32:
In file included from /.../WebKit/WebKit-7614.1.25.9.1/Source/WebKit/WebProcess/Inspector/WebInspectorUI.h:35:
/AppleInternal/Toolchains/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.Internal.sdk/Library/Apple/System/Library/StagedFrameworks/Safari/WebCore.framework/PrivateHeaders/InspectorFrontendClient.h:54:7: note: 'WebCore::InspectorFrontendAPIDispatcher' declared here
class InspectorFrontendAPIDispatcher;
      ^
1 error generated.

rdar://98489955
Comment 1 Timothy Hatcher 2022-08-11 08:34:48 PDT
Pull request: https://github.com/WebKit/WebKit/pull/3222
Comment 2 EWS 2022-08-11 10:44:28 PDT
Committed 253340@main (6e3353ec6e21): <https://commits.webkit.org/253340@main>

Reviewed commits have been landed. Closing PR #3222 and removing active labels.