| Index: third_party/WebKit/Source/modules/bluetooth/NavigatorBluetooth.cpp
|
| diff --git a/third_party/WebKit/Source/modules/bluetooth/NavigatorBluetooth.cpp b/third_party/WebKit/Source/modules/bluetooth/NavigatorBluetooth.cpp
|
| index 5798eab04b2619a381015088b40a6ad921b66e57..c4f5f66e0a29bad301e1a362aec79e216e542c82 100644
|
| --- a/third_party/WebKit/Source/modules/bluetooth/NavigatorBluetooth.cpp
|
| +++ b/third_party/WebKit/Source/modules/bluetooth/NavigatorBluetooth.cpp
|
| @@ -13,7 +13,7 @@ NavigatorBluetooth& NavigatorBluetooth::from(Navigator& navigator) {
|
| NavigatorBluetooth* supplement = static_cast<NavigatorBluetooth*>(
|
| Supplement<Navigator>::from(navigator, supplementName()));
|
| if (!supplement) {
|
| - supplement = new NavigatorBluetooth();
|
| + supplement = new NavigatorBluetooth(navigator);
|
| provideTo(navigator, supplementName(), supplement);
|
| }
|
| return *supplement;
|
| @@ -34,7 +34,8 @@ DEFINE_TRACE(NavigatorBluetooth) {
|
| Supplement<Navigator>::trace(visitor);
|
| }
|
|
|
| -NavigatorBluetooth::NavigatorBluetooth() {}
|
| +NavigatorBluetooth::NavigatorBluetooth(Navigator& navigator)
|
| + : Supplement<Navigator>(navigator) {}
|
|
|
| const char* NavigatorBluetooth::supplementName() {
|
| return "NavigatorBluetooth";
|
|
|