Index: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h |
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h |
index a29f0fa10afa1fc87865d8eebaf7f64ea38e24f0..7e575f874a35606467f8b2cc686b0e0892626724 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h |
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h |
@@ -96,6 +96,10 @@ class BluetoothRemoteGATTCharacteristic final |
RegisteredEventListener&) override; |
private: |
+ friend class ReadValueCallback; |
+ |
+ BluetoothRemoteGATTServer* gatt() { return m_service->device()->gatt(); } |
+ |
std::unique_ptr<WebBluetoothRemoteGATTCharacteristicInit> m_webCharacteristic; |
Member<BluetoothRemoteGATTService> m_service; |
bool m_stopped; |