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 a723e72fb5941fa965d289c3946897896d4aa6f5..d59c1f53852e46301ebfc9526eecc60bb76058bf 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.cpp |
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.cpp |
@@ -13,14 +13,15 @@ const char* BluetoothSupplement::supplementName() |
return "BluetoothSupplement"; |
} |
-BluetoothSupplement::BluetoothSupplement(WebBluetooth* bluetooth) |
- : m_bluetooth(bluetooth) |
+BluetoothSupplement::BluetoothSupplement(WebBluetooth* bluetooth, LocalFrame& frame) |
+ : Supplement<LocalFrame>(frame) |
+ , m_bluetooth(bluetooth) |
{ |
} |
void BluetoothSupplement::provideTo(LocalFrame& frame, WebBluetooth* bluetooth) |
{ |
- BluetoothSupplement* bluetoothSupplement = new BluetoothSupplement(bluetooth); |
+ BluetoothSupplement* bluetoothSupplement = new BluetoothSupplement(bluetooth, frame); |
Supplement<LocalFrame>::provideTo(frame, supplementName(), bluetoothSupplement); |
}; |