mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1235629 - Remove dead code in WorkerFeature.h, r=smaug
This commit is contained in:
parent
9bfc0f0445
commit
cfed21018c
@ -2122,17 +2122,6 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Suspend(JSContext* aCx) override
|
||||
{
|
||||
{
|
||||
MutexAutoLock lock(mWebSocketImpl->mMutex);
|
||||
mWebSocketImpl->mWorkerShuttingDown = true;
|
||||
}
|
||||
|
||||
mWebSocketImpl->CloseConnection(nsIWebSocketChannel::CLOSE_GOING_AWAY);
|
||||
return true;
|
||||
}
|
||||
|
||||
private:
|
||||
WebSocketImpl* mWebSocketImpl;
|
||||
};
|
||||
|
@ -74,9 +74,6 @@ class WorkerFeature
|
||||
public:
|
||||
virtual ~WorkerFeature() { }
|
||||
|
||||
virtual bool Suspend(JSContext* aCx) { return true; }
|
||||
virtual bool Resume(JSContext* aCx) { return true; }
|
||||
|
||||
virtual bool Notify(JSContext* aCx, Status aStatus) = 0;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user