From 259c8a71b4f323c8b7a0fd9482de59f6fe3b9ba9 Mon Sep 17 00:00:00 2001 From: Jamin Liu Date: Tue, 12 Aug 2014 16:30:26 +0800 Subject: [PATCH] Bug 1036233 - Initialize the data member of BluetoothDevice. r=btian --- dom/bluetooth2/BluetoothDevice.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dom/bluetooth2/BluetoothDevice.cpp b/dom/bluetooth2/BluetoothDevice.cpp index 3cfd3e4b7b62..c90609b55898 100644 --- a/dom/bluetooth2/BluetoothDevice.cpp +++ b/dom/bluetooth2/BluetoothDevice.cpp @@ -74,6 +74,7 @@ private: BluetoothDevice::BluetoothDevice(nsPIDOMWindow* aWindow, const BluetoothValue& aValue) : DOMEventTargetHelper(aWindow) + , mPaired(false) { MOZ_ASSERT(aWindow); MOZ_ASSERT(IsDOMBinding());