Index: Source/web/ChromeClientImpl.cpp |
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp |
index ec7b15d759e0ec26c9d8a69ddf315091ebd0edde..9644877c21cf2496c68f4e216c18c541434e40cf 100644 |
--- a/Source/web/ChromeClientImpl.cpp |
+++ b/Source/web/ChromeClientImpl.cpp |
@@ -1033,13 +1033,12 @@ void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche |
NavigatorContentUtilsClient::CustomHandlersState NavigatorContentUtilsClientImpl::isProtocolHandlerRegistered(const String& scheme, const String& baseURL, const String& url) |
{ |
- notImplemented(); |
- return NavigatorContentUtilsClient::CustomHandlersDeclined; |
+ return static_cast<NavigatorContentUtilsClient::CustomHandlersState>(m_webView->client()->isProtocolHandlerRegistered(scheme, baseURL, url)); |
} |
void NavigatorContentUtilsClientImpl::unregisterProtocolHandler(const String& scheme, const String& baseURL, const String& url) |
{ |
- notImplemented(); |
+ m_webView->client()->unregisterProtocolHandler(scheme, baseURL, url); |
} |
} // namespace blink |