Index: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.cc |
diff --git a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.cc b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.cc |
index d465d093824e53df43e43503fad1745cfec9bc4b..122f6a106839c5fcc0baa0d384135b50992d8a6d 100644 |
--- a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.cc |
+++ b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.cc |
@@ -468,7 +468,7 @@ bool BluetoothLowEnergyConnectFunction::DoWork() { |
EXTENSION_FUNCTION_VALIDATE(params.get() != NULL); |
bool persistent = false; // Not persistent by default. |
- apibtle::ConnectProperties* properties = params.get()->properties.get(); |
+ apibtle::ConnectProperties* properties = params->properties.get(); |
if (properties) |
persistent = properties->persistent; |
@@ -901,7 +901,7 @@ bool BluetoothLowEnergyStartCharacteristicNotificationsFunction::DoWork() { |
EXTENSION_FUNCTION_VALIDATE(params.get() != NULL); |
bool persistent = false; // Not persistent by default. |
- apibtle::NotificationProperties* properties = params.get()->properties.get(); |
+ apibtle::NotificationProperties* properties = params->properties.get(); |
if (properties) |
persistent = properties->persistent; |