mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00
Bug 1391657 - Fix missing member initialization for input prioritization (r=mccr8)
MozReview-Commit-ID: AaleTbntJ7U
This commit is contained in:
parent
bfdd0a2c15
commit
e7ca33ec9e
@ -275,6 +275,7 @@ class PrioritizedEventQueue<InnerQueueT>::EnablePrioritizationRunnable final
|
||||
public:
|
||||
explicit EnablePrioritizationRunnable(PrioritizedEventQueue<InnerQueueT>* aQueue)
|
||||
: Runnable("EnablePrioritizationRunnable")
|
||||
, mQueue(aQueue)
|
||||
{}
|
||||
|
||||
NS_IMETHOD Run() override
|
||||
@ -289,6 +290,8 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
// This is a weak pointer. It's guaranteed to stay alive until this runnable
|
||||
// runs since it functions as the event loop in which the runnable is posted.
|
||||
PrioritizedEventQueue<InnerQueueT>* mQueue;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user