| Index: third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.cpp
|
| diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.cpp
|
| index e77a7ed2f29d527039846c9087e96cb66943ea89..204366f5b80a79992ded6b6c05cb818e9887a8f3 100644
|
| --- a/third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.cpp
|
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.cpp
|
| @@ -20,13 +20,13 @@ BluetoothSupplement::BluetoothSupplement(WebBluetooth* bluetooth)
|
|
|
| void BluetoothSupplement::provideTo(LocalFrame& frame, WebBluetooth* bluetooth)
|
| {
|
| - OwnPtrWillBeRawPtr<BluetoothSupplement> bluetoothSupplement = adoptPtrWillBeNoop(new BluetoothSupplement(bluetooth));
|
| - WillBeHeapSupplement<LocalFrame>::provideTo(frame, supplementName(), bluetoothSupplement.release());
|
| + RawPtr<BluetoothSupplement> bluetoothSupplement = (new BluetoothSupplement(bluetooth));
|
| + HeapSupplement<LocalFrame>::provideTo(frame, supplementName(), bluetoothSupplement.release());
|
| };
|
|
|
| WebBluetooth* BluetoothSupplement::from(LocalFrame* frame)
|
| {
|
| - BluetoothSupplement* supplement = static_cast<BluetoothSupplement*>(WillBeHeapSupplement<LocalFrame>::from(frame, supplementName()));
|
| + BluetoothSupplement* supplement = static_cast<BluetoothSupplement*>(HeapSupplement<LocalFrame>::from(frame, supplementName()));
|
|
|
| ASSERT(supplement);
|
| ASSERT(supplement->m_bluetooth);
|
| @@ -49,7 +49,7 @@ WebBluetooth* BluetoothSupplement::fromExecutionContext(ExecutionContext* execut
|
|
|
| DEFINE_TRACE(BluetoothSupplement)
|
| {
|
| - WillBeHeapSupplement<LocalFrame>::trace(visitor);
|
| + HeapSupplement<LocalFrame>::trace(visitor);
|
| }
|
|
|
| } // namespace blink
|
|
|