Index: third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp |
diff --git a/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp b/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp |
index 28fffa8ba2037b1fb698a0c0bf9ed95c6c4b7185..2e2b11860c87ae3b443aa4bc718df79d7dc23321 100644 |
--- a/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp |
+++ b/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp |
@@ -9,8 +9,8 @@ |
#include "core/events/EventQueue.h" |
#include "core/events/MessageEvent.h" |
#include "platform/mojo/MojoHelper.h" |
+#include "public/platform/InterfaceProvider.h" |
#include "public/platform/Platform.h" |
-#include "public/platform/ServiceRegistry.h" |
#include "wtf/Functional.h" |
namespace blink { |
@@ -26,7 +26,7 @@ mojom::blink::BroadcastChannelProviderPtr& getThreadSpecificProvider() |
{ |
DEFINE_THREAD_SAFE_STATIC_LOCAL(ThreadSpecific<mojom::blink::BroadcastChannelProviderPtr>, provider, new ThreadSpecific<mojom::blink::BroadcastChannelProviderPtr>); |
if (!provider.isSet()) { |
- Platform::current()->serviceRegistry()->connectToRemoteService(mojo::GetProxy(&*provider)); |
+ Platform::current()->interfaceProvider()->getInterface(mojo::GetProxy(&*provider)); |
} |
return *provider; |
} |