From 59a210632839169c63f7db35ea449e9ccd95cae8 Mon Sep 17 00:00:00 2001 From: Ting-Yu Lin Date: Tue, 6 May 2014 22:39:00 -0400 Subject: [PATCH] Bug 1006986 - Fix build fail for flame debug. r=echou --- dom/bluetooth/bluez/BluetoothDBusService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/bluetooth/bluez/BluetoothDBusService.cpp b/dom/bluetooth/bluez/BluetoothDBusService.cpp index 410b378c4c7c..44680cba3926 100644 --- a/dom/bluetooth/bluez/BluetoothDBusService.cpp +++ b/dom/bluetooth/bluez/BluetoothDBusService.cpp @@ -1111,7 +1111,7 @@ public: break; } } - MOZ_ASSERT_IF(i == properties.Length(), "failed to get device name"); + MOZ_ASSERT(i != properties.Length(), "failed to get device name"); nsRefPtr task = new DistributeBluetoothSignalTask(mSignal);