| Index: Source/modules/navigatorcontentutils/testing/NavigatorContentUtilsClientMock.cpp
|
| diff --git a/Source/modules/navigatorcontentutils/testing/NavigatorContentUtilsClientMock.cpp b/Source/modules/navigatorcontentutils/testing/NavigatorContentUtilsClientMock.cpp
|
| index ca73bcd0c651da27b15051382909e3838ddf7ac0..764c5f3d9a5164de7329d35cdf0fb38b996a5010 100644
|
| --- a/Source/modules/navigatorcontentutils/testing/NavigatorContentUtilsClientMock.cpp
|
| +++ b/Source/modules/navigatorcontentutils/testing/NavigatorContentUtilsClientMock.cpp
|
| @@ -11,12 +11,11 @@
|
|
|
| namespace blink {
|
|
|
| -void NavigatorContentUtilsClientMock::registerProtocolHandler(const String& scheme, const blink::KURL& baseURL,
|
| +void NavigatorContentUtilsClientMock::registerProtocolHandler(const String& scheme,
|
| const blink::KURL& url, const String& title)
|
| {
|
| ProtocolInfo info;
|
| info.scheme = scheme;
|
| - info.baseURL = baseURL;
|
| info.url = url;
|
| info.title = title;
|
|
|
| @@ -24,7 +23,7 @@ void NavigatorContentUtilsClientMock::registerProtocolHandler(const String& sche
|
| }
|
|
|
| NavigatorContentUtilsClient::CustomHandlersState NavigatorContentUtilsClientMock::isProtocolHandlerRegistered(const String& scheme,
|
| - const blink::KURL& baseURL, const blink::KURL& url)
|
| + const blink::KURL& url)
|
| {
|
| // "declined" state is checked by NavigatorContentUtils::isProtocolHandlerRegistered() before calling this function.
|
| if (m_protocolMap.contains(scheme))
|
| @@ -33,7 +32,7 @@ NavigatorContentUtilsClient::CustomHandlersState NavigatorContentUtilsClientMock
|
| return NavigatorContentUtilsClient::CustomHandlersNew;
|
| }
|
|
|
| -void NavigatorContentUtilsClientMock::unregisterProtocolHandler(const String& scheme, const blink::KURL& baseURL,
|
| +void NavigatorContentUtilsClientMock::unregisterProtocolHandler(const String& scheme,
|
| const blink::KURL& url)
|
| {
|
| m_protocolMap.remove(scheme);
|
|
|