Index: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp |
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp |
index 98d0d933fa8f9cf87acc76ba1f196f075e685c14..b0ec4cd4b83d32eaf271d801427356099afb4460 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp |
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp |
@@ -122,11 +122,11 @@ public: |
m_resolver->resolve(domDataView); |
} |
- void onError(const WebBluetoothError& e) override |
+ void onError(int32_t error /* Corresponds to WebBluetoothError in web_bluetooth.mojom */) override |
{ |
if (!m_resolver->getExecutionContext() || m_resolver->getExecutionContext()->activeDOMObjectsAreStopped()) |
return; |
- m_resolver->reject(BluetoothError::take(m_resolver, e)); |
+ m_resolver->reject(BluetoothError::take(m_resolver, error)); |
} |
private: |
@@ -160,11 +160,11 @@ public: |
m_resolver->resolve(); |
} |
- void onError(const WebBluetoothError& e) override |
+ void onError(int32_t error /* Corresponds to WebBluetoothError in web_bluetooth.mojom */) override |
{ |
if (!m_resolver->getExecutionContext() || m_resolver->getExecutionContext()->activeDOMObjectsAreStopped()) |
return; |
- m_resolver->reject(BluetoothError::take(m_resolver, e)); |
+ m_resolver->reject(BluetoothError::take(m_resolver, error)); |
} |
private: |