| 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()
|
|
|