Descriptiondevice/bluetooth: Fix copy constructor of BluetoothServiceAttributeValueBlueZ
The copy constructor was trying to call DeepCopy() against a nullptr. This adds
a check if the type is NULLTYPE and return base::Value() if so.
BUG=b:30963813
TEST=call the copy constructor with a NULLTYPE instance to see if it crashes
Committed: https://crrev.com/4c369070c3e89056b3a90074315ac91b960862bf
Cr-Commit-Position: refs/heads/master@{#414746}
Patch Set 1 #Patch Set 2 : device/bluetooth: Fix copy constructor of BluetoothServiceAttributeValueBlueZ #
Messages
Total messages: 20 (12 generated)
|