diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-07-05 22:22:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-05 22:22:47 +0200 |
commit | c3fe7f59c8b6c1a23f5ae85f0697470fad560d68 (patch) | |
tree | 93fb783c7d463225be63f76102bddec19965bc93 /gfx | |
parent | 06ccf0f73ade5b436d2e7e00f81db7aebf7960cf (diff) | |
parent | a80267e9e88b3dcebf7f8f1f6f10931a99ddf2ca (diff) | |
download | UXP-c3fe7f59c8b6c1a23f5ae85f0697470fad560d68.tar UXP-c3fe7f59c8b6c1a23f5ae85f0697470fad560d68.tar.gz UXP-c3fe7f59c8b6c1a23f5ae85f0697470fad560d68.tar.lz UXP-c3fe7f59c8b6c1a23f5ae85f0697470fad560d68.tar.xz UXP-c3fe7f59c8b6c1a23f5ae85f0697470fad560d68.zip |
Merge pull request #597 from janekptacijarabaci/dom_workers_terminate_1
Sync event loops in workers should be created only if compatible with the worker shutdown status
Diffstat (limited to 'gfx')
-rw-r--r-- | gfx/thebes/gfxUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/thebes/gfxUtils.cpp b/gfx/thebes/gfxUtils.cpp index 313372ebc..401bceaa9 100644 --- a/gfx/thebes/gfxUtils.cpp +++ b/gfx/thebes/gfxUtils.cpp @@ -1477,7 +1477,7 @@ gfxUtils::ThreadSafeGetFeatureStatus(const nsCOMPtr<nsIGfxInfo>& gfxInfo, status); ErrorResult rv; - runnable->Dispatch(rv); + runnable->Dispatch(dom::workers::Terminating, rv); if (rv.Failed()) { // XXXbz This is totally broken, since we're supposed to just abort // everything up the callstack but the callers basically eat the |