mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1028021 - Fix -Wdelete-non-virtual-dtor warning in widget/cocoa/nsAppShell.mm. r=smichaud
This commit is contained in:
parent
6d73fa876a
commit
4924bb2340
@ -9,7 +9,6 @@
|
||||
*/
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include "CustomCocoaEvents.h"
|
||||
#include "mozilla/WidgetTraceEvent.h"
|
||||
@ -35,7 +34,6 @@
|
||||
#include "GeckoProfiler.h"
|
||||
#include "pratom.h"
|
||||
|
||||
#include "npapi.h"
|
||||
#include <IOKit/pwr_mgt/IOPMLib.h>
|
||||
#include "nsIDOMWakeLockListener.h"
|
||||
#include "nsIPowerManagerService.h"
|
||||
@ -46,7 +44,7 @@ using namespace mozilla::widget;
|
||||
// Gecko. For example when we're playing video in a foreground tab we
|
||||
// don't want the screen saver to turn on.
|
||||
|
||||
class MacWakeLockListener : public nsIDOMMozWakeLockListener {
|
||||
class MacWakeLockListener MOZ_FINAL : public nsIDOMMozWakeLockListener {
|
||||
public:
|
||||
NS_DECL_ISUPPORTS;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user