Skip to content

Commit

Permalink
Build fix when SERVICE_WORKER is disabled
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=264383

Reviewed by Chris Dumez.

When SERVICE_WORKER is disabled, building WebKit fails because WorkerGlobalScope.h
is not included in Source/WebCore/bindings/js/JSWorkerGlobalScopeBase.h

* Source/WebCore/bindings/js/JSWorkerGlobalScopeBase.h:

Canonical link: https://commits.webkit.org/270512@main
  • Loading branch information
tKnmori authored and cdumez committed Nov 10, 2023
1 parent 0a5c3fc commit 35b96c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/WebCore/bindings/js/JSWorkerGlobalScopeBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,14 @@

#include "JSDOMGlobalObject.h"
#include "JSDOMWrapper.h"
#include "WorkerGlobalScope.h"

#if ENABLE(SERVICE_WORKER)
#include "ServiceWorkerGlobalScope.h"
#endif

namespace WebCore {

class WorkerGlobalScope;

class JSWorkerGlobalScopeBase : public JSDOMGlobalObject {
public:
using Base = JSDOMGlobalObject;
Expand Down

0 comments on commit 35b96c2

Please sign in to comment.