Bug 1235629 - Remove dead code in WorkerFeature.h, r=smaug

This commit is contained in:
Andrea Marchesini 2015-12-29 20:35:21 +00:00
parent 9bfc0f0445
commit cfed21018c
2 changed files with 0 additions and 14 deletions

View File

@ -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;
};

View File

@ -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;
};