diff options
-rw-r--r-- | src/core/content_browser_client_qt.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/content_browser_client_qt.cpp b/src/core/content_browser_client_qt.cpp index 0fdf1f397..9f88b3d07 100644 --- a/src/core/content_browser_client_qt.cpp +++ b/src/core/content_browser_client_qt.cpp @@ -835,10 +835,6 @@ static bool navigationThrottleCallback(content::WebContents *source, if (params.is_external_protocol() && !profile->profileAdapter()->urlSchemeHandler(toQByteArray(params.url().scheme()))) return false; - WebContentsViewQt *view = WebContentsViewQt::from(static_cast<content::WebContentsImpl *>(source)->GetView()); - if (!view->client()) - return false; - bool navigationAccepted = true; WebContentsAdapterClient *client = |