| Index: third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp
|
| diff --git a/third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp b/third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp
|
| index 611ac94bee98d1880865ab5881f9717aee122e8d..501e457faee92c3376c89be0a1bc311ae6aadf34 100644
|
| --- a/third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp
|
| +++ b/third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp
|
| @@ -5,9 +5,9 @@
|
| #include "modules/battery/BatteryDispatcher.h"
|
|
|
| #include "platform/mojo/MojoHelper.h"
|
| -#include "public/platform/Connector.h"
|
| #include "public/platform/Platform.h"
|
| #include "services/device/public/interfaces/constants.mojom-blink.h"
|
| +#include "services/service_manager/public/cpp/connector.h"
|
| #include "wtf/Assertions.h"
|
|
|
| namespace blink {
|
| @@ -45,7 +45,7 @@ void BatteryDispatcher::updateBatteryStatus(
|
|
|
| void BatteryDispatcher::startListening() {
|
| DCHECK(!m_monitor.is_bound());
|
| - Platform::current()->connector()->bindInterface(
|
| + Platform::current()->connector()->BindInterface(
|
| device::mojom::blink::kServiceName, mojo::MakeRequest(&m_monitor));
|
| queryNextStatus();
|
| }
|
|
|