Index: device/bluetooth/bluetooth_remote_gatt_characteristic.cc |
diff --git a/device/bluetooth/bluetooth_remote_gatt_characteristic.cc b/device/bluetooth/bluetooth_remote_gatt_characteristic.cc |
index 3a8abb33b6ebf0b06ceb664cff99f77c08256b44..9443ba97abd8ec698c24f5ca1fca2e0b0323c610 100644 |
--- a/device/bluetooth/bluetooth_remote_gatt_characteristic.cc |
+++ b/device/bluetooth/bluetooth_remote_gatt_characteristic.cc |
@@ -278,15 +278,14 @@ void BluetoothRemoteGattCharacteristic::ExecuteStopNotifySession( |
// rid of the entire check, and run SubscribeToNotifications on all |
// platforms. |
// |
-// TODO(http://crbug.com/633191): Remove OS_MACOSX from this check. |
// TODO(http://crbug.com/636270): Remove OS_WIN from this check. |
-#if defined(OS_MACOSX) || defined(OS_WIN) |
+#if defined(OS_WIN) |
base::ThreadTaskRunnerHandle::Get()->PostTask( |
FROM_HERE, |
base::Bind(&BluetoothRemoteGattCharacteristic::OnStopNotifySessionError, |
GetWeakPtr(), session, callback, |
BluetoothRemoteGattService::GATT_ERROR_NOT_SUPPORTED)); |
-#else // !(defined(OS_MACOSX) || defined(OS_WIN)) |
+#else // defined(OS_WIN)) |
// Find the Client Characteristic Configuration descriptor. |
std::vector<BluetoothRemoteGattDescriptor*> ccc_descriptor = |
GetDescriptorsByUUID(BluetoothRemoteGattDescriptor:: |
@@ -309,7 +308,7 @@ void BluetoothRemoteGattCharacteristic::ExecuteStopNotifySession( |
GetWeakPtr(), session, callback), |
base::Bind(&BluetoothRemoteGattCharacteristic::OnStopNotifySessionError, |
GetWeakPtr(), session, callback)); |
-#endif // defined(OS_MACOSX) || defined(OS_WIN) |
+#endif // defined(OS_WIN) |
} |
void BluetoothRemoteGattCharacteristic::CancelStopNotifySession( |