diff options
author | Michael BrĂ¼ning <michael.bruning@qt.io> | 2023-04-21 23:37:28 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-04-25 23:21:45 +0000 |
commit | c52fcde53cefbe4e69993a9dc4b696e059b0fb9c (patch) | |
tree | ae93d6069ca675fe82b1ae3d62a135cea24db8f0 /src | |
parent | 98ff0e0257389352aa8418a3d7dcbe92088b8681 (diff) | |
download | qtwebengine-c52fcde53cefbe4e69993a9dc4b696e059b0fb9c.tar.gz |
Remove assert on outer web contents in accessibility
It was introduced under the assumption that the accessibility would only
not be available for guest views, but it is also the case for child frames.
Change-Id: I202b598cde98f84a40dcbb0ee24f2569c5d9ee65
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 2d1506e345df8be568d6ece2cfb7c461dcbeebc0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/core/browser_accessibility_manager_qt.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/browser_accessibility_manager_qt.cpp b/src/core/browser_accessibility_manager_qt.cpp index 8aa245e68..49a193b05 100644 --- a/src/core/browser_accessibility_manager_qt.cpp +++ b/src/core/browser_accessibility_manager_qt.cpp @@ -37,9 +37,6 @@ BrowserAccessibilityManager *BrowserAccessibilityManager::Create( #if QT_CONFIG(webengine_extensions) // Accessibility is not supported for guest views. if (!access) { - Q_ASSERT(content::WebContents::FromRenderFrameHost( - static_cast<content::RenderFrameHostImpl *>(delegate)) - ->GetOuterWebContents()); return nullptr; } #endif // QT_CONFIG(webengine_extensions) |