mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1038196 - Give WinWakeLockListener a private destructor; r=bjacob
This commit is contained in:
parent
3a52f470bd
commit
50a7cb1524
@ -34,6 +34,8 @@ public:
|
||||
NS_DECL_ISUPPORTS;
|
||||
|
||||
private:
|
||||
~WinWakeLockListener() {}
|
||||
|
||||
NS_IMETHOD Callback(const nsAString& aTopic, const nsAString& aState) {
|
||||
bool isLocked = mLockedTopics.Contains(aTopic);
|
||||
bool shouldLock = aState.EqualsLiteral("locked-foreground");
|
||||
|
Loading…
Reference in New Issue
Block a user