diff options
author | Christophe Chapuis <chris.chapuis@gmail.com> | 2016-09-04 14:37:57 +0000 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2016-09-23 04:20:31 +0000 |
commit | ec84507898e58a167b185ba674acf300cc695380 (patch) | |
tree | 8deb4722a39cd6b89a043dc5b24f10d1139825f9 /LICENSE.GPLv3 | |
parent | 062b9bf3cf202b199892ca7bbe6d934c9b059022 (diff) |
Fix crash when using openIn on newly created viewv5.6.2
When a link triggers a NewViewRequest, and the latter creates
a new window with a new WebEngineView inside, the "adapter" pointer
can still be NULL when the adoptWebContents is called by openIn.
Therefore is it necessary to test the adapter pointer before using it.
(cherry picked from commit bfc2683ab4ca3f56a2effd1b2f7e68850acb72ba)
Task-number: QTBUG-55765
Change-Id: Iaa7cb4e8c7780a2e3f1a8c85b7b5da0ec541b2f3
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
Diffstat (limited to 'LICENSE.GPLv3')
0 files changed, 0 insertions, 0 deletions