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 98b21d664fb374ad336ecf7d56ad30d1277ceb41..70bb9fc46b0071623649f5ee95b8e390da6f166c 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h |
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h |
@@ -49,7 +49,7 @@ |
static BluetoothRemoteGATTCharacteristic* take(ScriptPromiseResolver*, PassOwnPtr<WebBluetoothRemoteGATTCharacteristicInit>); |
// Save value. |
- void setValue(DOMDataView*); |
+ void setValue(const PassRefPtr<DOMDataView>&); |
// WebBluetoothRemoteGATTCharacteristic interface: |
void dispatchCharacteristicValueChanged(const WebVector<uint8_t>&) override; |
@@ -76,7 +76,7 @@ |
String uuid() { return m_webCharacteristic->uuid; } |
BluetoothCharacteristicProperties* properties() { return m_properties; } |
- DOMDataView* value() const { return m_value; } |
+ PassRefPtr<DOMDataView> value() const { return m_value; } |
ScriptPromise readValue(ScriptState*); |
ScriptPromise writeValue(ScriptState*, const DOMArrayPiece&); |
ScriptPromise startNotifications(ScriptState*); |
@@ -92,7 +92,7 @@ |
OwnPtr<WebBluetoothRemoteGATTCharacteristicInit> m_webCharacteristic; |
bool m_stopped; |
Member<BluetoothCharacteristicProperties> m_properties; |
- Member<DOMDataView> m_value; |
+ RefPtr<DOMDataView> m_value; |
}; |
} // namespace blink |