Bug 1234127: Change |BluetoothAdapter.pairingReqs| as a nullable object; r=btian, r=mrbkap

This commit is contained in:
Bruce Sun 2015-12-21 16:48:47 +08:00
parent b006291a6b
commit 6fc8cba2e5
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ public:
return mDiscoverable;
}
BluetoothPairingListener* PairingReqs() const
BluetoothPairingListener* GetPairingReqs() const
{
return mPairingReqs;
}

View File

@ -43,7 +43,7 @@ interface BluetoothAdapter : EventTarget {
readonly attribute BluetoothGattServer? gattServer;
[AvailableIn=CertifiedApps]
readonly attribute BluetoothPairingListener pairingReqs;
readonly attribute BluetoothPairingListener? pairingReqs;
// Fired when attribute(s) of BluetoothAdapter changed
attribute EventHandler onattributechanged;