Bug 231968

Summary: Fix build break after r284406 if ENABLE_SERVICE_WORKER=OFF
Product: WebKit Reporter: Jigen Zhou <jigen.zhou>
Component: PlatformAssignee: Jigen Zhou <jigen.zhou>
Status: RESOLVED FIXED    
Severity: Normal CC: don.olmstead, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Jigen Zhou 2021-10-19 11:16:55 PDT
After r284406, build with ENABLE_SERVICE_WORKER=OFF generates errors:

C:/work/webkit/jenkins/neko/Source/WebKit/UIProcess/WebPageProxy.h:1973:47: error: use of undeclared identifier 'm_isServiceWorkerPage'; did you mean 'isServiceWorkerPage'?
    bool isServiceWorkerPage() const { return m_isServiceWorkerPage; }
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              isServiceWorkerPage
C:/work/webkit/jenkins/neko/Source/WebKit/UIProcess/WebPageProxy.h:1973:10: note: 'isServiceWorkerPage' declared here
    bool isServiceWorkerPage() const { return m_isServiceWorkerPage; }
         ^
C:/work/webkit/jenkins/neko/Source/WebKit/UIProcess/WebPageProxy.h:1973:47: error: reference to non-static member function must be called; did you mean to call it with no arguments?
    bool isServiceWorkerPage() const { return m_isServiceWorkerPage; }
                                              ^~~~~~~~~~~~~~~~~~~~~
                                                                   ()
2 errors generated.
Comment 1 Jigen Zhou 2021-10-19 13:25:52 PDT
Created attachment 441782 [details]
Patch
Comment 2 EWS 2021-10-19 21:49:36 PDT
Committed r284517 (243260@main): <https://commits.webkit.org/243260@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 441782 [details].
Comment 3 Radar WebKit Bug Importer 2021-10-19 21:50:20 PDT
<rdar://problem/84447444>