Bug 1028021 - Fix -Wdelete-non-virtual-dtor warning in widget/cocoa/nsAppShell.mm. r=smichaud

This commit is contained in:
Chris Peterson 2014-06-19 23:03:54 -07:00
parent 6d73fa876a
commit 4924bb2340

View File

@ -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;