| 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 a3708fd7776f0b09bf4387bc2455e0e29a179b32..e1129d7e6cf85e7361b79211e2e69002c6ca9456 100644
|
| --- a/third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp
|
| +++ b/third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp
|
| @@ -5,8 +5,8 @@
|
| #include "modules/battery/BatteryDispatcher.h"
|
|
|
| #include "platform/mojo/MojoHelper.h"
|
| +#include "public/platform/InterfaceProvider.h"
|
| #include "public/platform/Platform.h"
|
| -#include "public/platform/ServiceRegistry.h"
|
| #include "wtf/Assertions.h"
|
|
|
| namespace blink {
|
| @@ -50,8 +50,7 @@ void BatteryDispatcher::updateBatteryStatus(const BatteryStatus& batteryStatus)
|
| void BatteryDispatcher::startListening()
|
| {
|
| DCHECK(!m_monitor.is_bound());
|
| - Platform::current()->serviceRegistry()->connectToRemoteService(
|
| - mojo::GetProxy(&m_monitor));
|
| + Platform::current()->interfaceProvider()->getInterface(mojo::GetProxy(&m_monitor));
|
| queryNextStatus();
|
| }
|
|
|
|
|