Bug 562470 - Give JSBackgroundTask a virtual destructor (r=me)

This commit is contained in:
Luke Wagner 2010-04-28 15:06:39 -07:00
parent c11e7e9863
commit d80ae03b09

View File

@ -43,6 +43,7 @@ class JSBackgroundTask {
friend class JSBackgroundThread;
JSBackgroundTask* next;
public:
virtual ~JSBackgroundTask() = 0;
virtual void run() = 0;
};