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 91df2519fed9d69aff498d15a96b57bb6064b23d..04b4311ff31371bc71fe30b7f4c87d577fcc88fa 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp |
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp |
@@ -16,7 +16,6 @@ |
#include "modules/bluetooth/BluetoothError.h" |
#include "modules/bluetooth/BluetoothSupplement.h" |
#include "public/platform/modules/bluetooth/WebBluetooth.h" |
-#include <memory> |
namespace blink { |
@@ -31,7 +30,7 @@ DOMDataView* ConvertWebVectorToDataView(const WebVector<uint8_t>& webVector) |
} // anonymous namespace |
-BluetoothRemoteGATTCharacteristic::BluetoothRemoteGATTCharacteristic(ExecutionContext* context, std::unique_ptr<WebBluetoothRemoteGATTCharacteristicInit> webCharacteristic) |
+BluetoothRemoteGATTCharacteristic::BluetoothRemoteGATTCharacteristic(ExecutionContext* context, PassOwnPtr<WebBluetoothRemoteGATTCharacteristicInit> webCharacteristic) |
: ActiveDOMObject(context) |
, m_webCharacteristic(std::move(webCharacteristic)) |
, m_stopped(false) |
@@ -41,7 +40,7 @@ BluetoothRemoteGATTCharacteristic::BluetoothRemoteGATTCharacteristic(ExecutionCo |
ThreadState::current()->registerPreFinalizer(this); |
} |
-BluetoothRemoteGATTCharacteristic* BluetoothRemoteGATTCharacteristic::take(ScriptPromiseResolver* resolver, std::unique_ptr<WebBluetoothRemoteGATTCharacteristicInit> webCharacteristic) |
+BluetoothRemoteGATTCharacteristic* BluetoothRemoteGATTCharacteristic::take(ScriptPromiseResolver* resolver, PassOwnPtr<WebBluetoothRemoteGATTCharacteristicInit> webCharacteristic) |
{ |
if (!webCharacteristic) { |
return nullptr; |