[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser/tor-browser-52.0.2esr-7.0-2] Bug 1336527 Define RegisterIdlePeriod r=baku
commit a6a430bf6393f51a778b8dfe19103ae708bfcc5c
Author: Tom Ritter <tom@xxxxxxxxxxx>
Date: Fri Feb 17 13:29:12 2017 -0600
Bug 1336527 Define RegisterIdlePeriod r=baku
MozReview-Commit-ID: A41UJ6OHvP7
--HG--
extra : rebase_source : 0191c1bbece94bb9dabbf2daf56351a624efa481
---
dom/workers/WorkerThread.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/dom/workers/WorkerThread.h b/dom/workers/WorkerThread.h
index d1df133..f128702 100644
--- a/dom/workers/WorkerThread.h
+++ b/dom/workers/WorkerThread.h
@@ -77,6 +77,14 @@ public:
uint32_t
RecursionDepth(const WorkerThreadFriendKey& aKey) const;
+ // Required for MinGW build #1336527 to handle compiler bug:
+ // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79582
+ NS_IMETHOD
+ RegisterIdlePeriod(already_AddRefed<nsIIdlePeriod> aIdlePeriod) override
+ {
+ return nsThread::RegisterIdlePeriod(already_AddRefed<nsIIdlePeriod>(aIdlePeriod.take()));
+ }
+
NS_DECL_ISUPPORTS_INHERITED
private:
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits