Chromium Code Reviews| 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..d494aaa366f1643bd03f910e5cb7779761d41941 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) override |
|
Jeffrey Yasskin
2016/07/13 20:34:58
Please comment which enum this expects to receive.
ortuno
2016/07/13 22:47:29
Done.
|
| { |
| 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) 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: |