Index: Source/modules/navigatorconnect/NavigatorConnect.cpp |
diff --git a/Source/modules/navigatorconnect/NavigatorConnect.cpp b/Source/modules/navigatorconnect/NavigatorConnect.cpp |
index 94c6e1cf9edc0458220c7326f955b3dbbe9b4009..e63660f4d9772f1976e5c1048be673768f7651b9 100644 |
--- a/Source/modules/navigatorconnect/NavigatorConnect.cpp |
+++ b/Source/modules/navigatorconnect/NavigatorConnect.cpp |
@@ -11,14 +11,13 @@ |
#include "core/dom/MessageChannel.h" |
#include "core/dom/MessagePort.h" |
#include "public/platform/Platform.h" |
-#include "public/platform/WebCallbacks.h" |
#include "public/platform/WebNavigatorConnectProvider.h" |
namespace blink { |
namespace { |
-class ConnectCallbacks : public WebCallbacks<void, void> { |
+class ConnectCallbacks : public WebNavigatorConnectCallbacks { |
public: |
ConnectCallbacks(PassRefPtrWillBeRawPtr<ScriptPromiseResolver> resolver, PassRefPtrWillBeRawPtr<MessagePort> port) |
: m_resolver(resolver), m_port(port) |