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

Unified Diff: third_party/WebKit/Source/modules/webshare/NavigatorShare.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/webshare/NavigatorShare.cpp
diff --git a/third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp b/third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp
index cf1aa86a3de6612a5e7795e03f9001dc09dba9cb..7f192c704194993e5cdb393f5b9b57b912fac7cd 100644
--- a/third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp
+++ b/third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp
@@ -10,8 +10,8 @@
#include "core/frame/LocalFrame.h"
#include "core/frame/Navigator.h"
#include "platform/mojo/MojoHelper.h"
+#include "public/platform/InterfaceProvider.h"
#include "public/platform/Platform.h"
-#include "public/platform/ServiceRegistry.h"
namespace blink {
@@ -85,7 +85,7 @@ ScriptPromise NavigatorShare::share(ScriptState* scriptState, const String& titl
DCHECK(doc);
LocalFrame* frame = doc->frame();
DCHECK(frame);
- frame->serviceRegistry()->connectToRemoteService(mojo::GetProxy(&m_service));
+ frame->interfaceProvider()->getInterface(mojo::GetProxy(&m_service));
DCHECK(m_service);
}

Powered by Google App Engine
This is Rietveld 408576698