mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-20 08:51:04 +00:00
Bug 766446 - 'nsEvent needs a copy constructor that calls MOZ_COUNT_CTOR'. r=bz.
This commit is contained in:
parent
05e3783308
commit
86016060a1
@ -566,6 +566,7 @@ protected:
|
||||
|
||||
nsEvent()
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsEvent);
|
||||
}
|
||||
|
||||
public:
|
||||
@ -586,6 +587,12 @@ public:
|
||||
MOZ_COUNT_DTOR(nsEvent);
|
||||
}
|
||||
|
||||
nsEvent(const nsEvent& aOther)
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsEvent);
|
||||
*this = aOther;
|
||||
}
|
||||
|
||||
// See event struct types
|
||||
PRUint8 eventStructType;
|
||||
// See GUI MESSAGES,
|
||||
|
Loading…
x
Reference in New Issue
Block a user