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

Unified Diff: third_party/WebKit/Source/platform/text/hyphenation/HyphenationMinikin.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/platform/text/hyphenation/HyphenationMinikin.cpp
diff --git a/third_party/WebKit/Source/platform/text/hyphenation/HyphenationMinikin.cpp b/third_party/WebKit/Source/platform/text/hyphenation/HyphenationMinikin.cpp
index eee87e159fe923410f25f347098ef62da3fc9b71..a1664508bfac1dc950e0e32d093c5538225bdad0 100644
--- a/third_party/WebKit/Source/platform/text/hyphenation/HyphenationMinikin.cpp
+++ b/third_party/WebKit/Source/platform/text/hyphenation/HyphenationMinikin.cpp
@@ -11,8 +11,8 @@
#include "mojo/public/cpp/system/platform_handle.h"
#include "platform/LayoutLocale.h"
#include "platform/text/hyphenation/HyphenatorAOSP.h"
+#include "public/platform/InterfaceProvider.h"
#include "public/platform/Platform.h"
-#include "public/platform/ServiceRegistry.h"
#include "public/platform/modules/hyphenation/hyphenation.mojom-blink.h"
namespace blink {
@@ -38,8 +38,7 @@ private:
static mojom::blink::HyphenationPtr connectToRemoteService()
{
mojom::blink::HyphenationPtr service;
- Platform::current()->serviceRegistry()->connectToRemoteService(
- mojo::GetProxy(&service));
+ Platform::current()->interfaceProvider()->getInterface(mojo::GetProxy(&service));
return service;
}

Powered by Google App Engine
This is Rietveld 408576698