mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1293690 P3 Force all callers of HoldWorker to provide an explicit status code that triggers failure. r=baku
This commit is contained in:
parent
9d7b33a00b
commit
da1166fba2
@ -77,8 +77,7 @@ public:
|
||||
WorkerHolder();
|
||||
virtual ~WorkerHolder();
|
||||
|
||||
bool HoldWorker(WorkerPrivate* aWorkerPrivate,
|
||||
Status aFailStatus = Canceling);
|
||||
bool HoldWorker(WorkerPrivate* aWorkerPrivate, Status aFailStatus);
|
||||
void ReleaseWorker();
|
||||
|
||||
virtual bool Notify(Status aStatus) = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user