Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(729)

Unified Diff: third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp

Issue 2196843003: Blink ServiceRegistry -> InterfaceProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698