Bug 1022417: Annotate BluetoothHfpManager::GetVolumeTask as MOZ_FINAL to calm GCC Wdelete-non-virtual-dtor build warning. blanket-r=ehsan
authorDaniel Holbert <dholbert@cs.stanford.edu>
Sun, 08 Jun 2014 14:58:02 -0700
changeset 187457 e3cd62c4f7d3422a28c988d78591a8d24ca76cb6
parent 187456 e21f4888b495c3d552d6180cbb27dd0670dcb039
child 187458 8334888c2207a150cd1fa3af90c439cba9cc24f5
push id7790
push userdholbert@mozilla.com
push dateSun, 08 Jun 2014 21:58:25 +0000
treeherderb2g-inbound@e3cd62c4f7d3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1022417
milestone32.0a1
Bug 1022417: Annotate BluetoothHfpManager::GetVolumeTask as MOZ_FINAL to calm GCC Wdelete-non-virtual-dtor build warning. blanket-r=ehsan
dom/bluetooth/bluez/BluetoothHfpManager.cpp
--- a/dom/bluetooth/bluez/BluetoothHfpManager.cpp
+++ b/dom/bluetooth/bluez/BluetoothHfpManager.cpp
@@ -159,17 +159,17 @@ static CINDItem sCINDItems[] = {
   {"callheld", "0-2", CallHeldState::NO_CALLHELD, true},
   {"callsetup", "0-3", CallSetupState::NO_CALLSETUP, true},
   {"service", "0,1", 0, true},
   {"signal", "0-5", 0, true},
   {"roam", "0,1", 0, true}
 #endif
 };
 
-class BluetoothHfpManager::GetVolumeTask : public nsISettingsServiceCallback
+class BluetoothHfpManager::GetVolumeTask MOZ_FINAL : public nsISettingsServiceCallback
 {
 public:
   NS_DECL_ISUPPORTS
 
   NS_IMETHOD
   Handle(const nsAString& aName, JS::Handle<JS::Value> aResult)
   {
     MOZ_ASSERT(NS_IsMainThread());