| Index: Source/modules/navigatorcontentutils/testing/NavigatorContentUtilsClientMock.cpp
|
| diff --git a/Source/modules/navigatorcontentutils/testing/NavigatorContentUtilsClientMock.cpp b/Source/modules/navigatorcontentutils/testing/NavigatorContentUtilsClientMock.cpp
|
| index d253642da53bdfa970fdfde56259170be6bedd96..cc91f59d76bb7116e840fdff06286ef36c69bd11 100644
|
| --- a/Source/modules/navigatorcontentutils/testing/NavigatorContentUtilsClientMock.cpp
|
| +++ b/Source/modules/navigatorcontentutils/testing/NavigatorContentUtilsClientMock.cpp
|
| @@ -9,10 +9,10 @@
|
| #include "platform/weborigin/KURL.h"
|
| #include "wtf/text/StringHash.h"
|
|
|
| -namespace WebCore {
|
| +namespace blink {
|
|
|
| -void NavigatorContentUtilsClientMock::registerProtocolHandler(const String& scheme, const WebCore::KURL& baseURL,
|
| - const WebCore::KURL& url, const String& title)
|
| +void NavigatorContentUtilsClientMock::registerProtocolHandler(const String& scheme, const blink::KURL& baseURL,
|
| + const blink::KURL& url, const String& title)
|
| {
|
| ProtocolInfo info;
|
| info.scheme = scheme;
|
| @@ -24,7 +24,7 @@ void NavigatorContentUtilsClientMock::registerProtocolHandler(const String& sche
|
| }
|
|
|
| NavigatorContentUtilsClient::CustomHandlersState NavigatorContentUtilsClientMock::isProtocolHandlerRegistered(const String& scheme,
|
| - const WebCore::KURL& baseURL, const WebCore::KURL& url)
|
| + const blink::KURL& baseURL, const blink::KURL& url)
|
| {
|
| // "declined" state is checked by NavigatorContentUtils::isProtocolHandlerRegistered() before calling this function.
|
| if (m_protocolMap.contains(scheme))
|
| @@ -33,8 +33,8 @@ NavigatorContentUtilsClient::CustomHandlersState NavigatorContentUtilsClientMock
|
| return NavigatorContentUtilsClient::CustomHandlersNew;
|
| }
|
|
|
| -void NavigatorContentUtilsClientMock::unregisterProtocolHandler(const String& scheme, const WebCore::KURL& baseURL,
|
| - const WebCore::KURL& url)
|
| +void NavigatorContentUtilsClientMock::unregisterProtocolHandler(const String& scheme, const blink::KURL& baseURL,
|
| + const blink::KURL& url)
|
| {
|
| m_protocolMap.remove(scheme);
|
| }
|
|
|