Bug 1202497 - follow-up - fix static analysis bustage; r=me

This commit is contained in:
Nathan Froyd 2015-09-22 19:25:37 -04:00
parent 338e221561
commit 8bb05ee37e
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ class nsEventQueue
public:
typedef mozilla::MutexAutoLock MutexAutoLock;
nsEventQueue(mozilla::Mutex& aLock);
explicit nsEventQueue(mozilla::Mutex& aLock);
~nsEventQueue();
// This method adds a new event to the pending event queue. The queue holds

View File

@ -117,7 +117,7 @@ protected:
class nsChainedEventQueue
{
public:
nsChainedEventQueue(mozilla::Mutex& aLock)
explicit nsChainedEventQueue(mozilla::Mutex& aLock)
: mNext(nullptr)
, mQueue(aLock)
{