Chromium Code Reviews| Index: Source/modules/bluetooth/BluetoothGATTRemoteServer.h |
| diff --git a/Source/modules/bluetooth/BluetoothGATTRemoteServer.h b/Source/modules/bluetooth/BluetoothGATTRemoteServer.h |
| index 7519b87a8092ba68e09f8b82a8ff20c9340030f6..e0f542c26e772be810d2b026f6ba6f447b50fa02 100644 |
| --- a/Source/modules/bluetooth/BluetoothGATTRemoteServer.h |
| +++ b/Source/modules/bluetooth/BluetoothGATTRemoteServer.h |
| @@ -27,7 +27,7 @@ class BluetoothGATTRemoteServer final |
| , public ScriptWrappable { |
| DEFINE_WRAPPERTYPEINFO(); |
| public: |
| - BluetoothGATTRemoteServer(const WebBluetoothGATTRemoteServer&); |
| + BluetoothGATTRemoteServer(PassOwnPtr<WebBluetoothGATTRemoteServer>); |
|
haraken
2015/06/04 00:40:16
Add explicit.
|
| // Interface required by CallbackPromiseAdapter: |
| typedef WebBluetoothGATTRemoteServer WebType; |
| @@ -38,11 +38,11 @@ public: |
| DEFINE_INLINE_TRACE() { } |
| // IDL exposed interface: |
| - bool connected() { return m_webGATT.connected; } |
| + bool connected() { return m_webGATT->connected; } |
| ScriptPromise getPrimaryService(ScriptState*, String serviceUUID); |
| private: |
| - WebBluetoothGATTRemoteServer m_webGATT; |
| + OwnPtr<WebBluetoothGATTRemoteServer> m_webGATT; |
| }; |
| } // namespace blink |