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

Unified Diff: third_party/WebKit/Source/modules/vibration/VibrationController.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/vibration/VibrationController.cpp
diff --git a/third_party/WebKit/Source/modules/vibration/VibrationController.cpp b/third_party/WebKit/Source/modules/vibration/VibrationController.cpp
index ab8c98679b94cb764bde6384355d82c71284848a..cf3a33c73c409142ca51d95f78fa54978e4a5d7b 100644
--- a/third_party/WebKit/Source/modules/vibration/VibrationController.cpp
+++ b/third_party/WebKit/Source/modules/vibration/VibrationController.cpp
@@ -25,7 +25,7 @@
#include "core/frame/UseCounter.h"
#include "core/page/Page.h"
#include "platform/mojo/MojoHelper.h"
-#include "public/platform/ServiceRegistry.h"
+#include "public/platform/InterfaceProvider.h"
// Maximum number of entries in a vibration pattern.
const unsigned kVibrationPatternLengthMax = 99;
@@ -80,7 +80,7 @@ VibrationController::VibrationController(Document& document)
, m_isCallingCancel(false)
, m_isCallingVibrate(false)
{
- document.frame()->serviceRegistry()->connectToRemoteService(mojo::GetProxy(&m_service));
+ document.frame()->interfaceProvider()->getInterface(mojo::GetProxy(&m_service));
}
VibrationController::~VibrationController()

Powered by Google App Engine
This is Rietveld 408576698