diff options
author | Christophe Chapuis <chris.chapuis@gmail.com> | 2016-09-04 14:37:57 +0000 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2016-09-20 13:17:57 +0000 |
commit | bfc2683ab4ca3f56a2effd1b2f7e68850acb72ba (patch) | |
tree | 43cf015059c78996f7b90dfe387e6efd19973885 /src/webenginewidgets/api | |
parent | 2057634462750fc7a6157600509044564c2f47fd (diff) |
Fix crash when using openIn on newly created view
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.
Task-number: QTBUG-55765
Change-Id: Ia1a299dd65c229705462c9444b81d7b26567fc09
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/webenginewidgets/api')
0 files changed, 0 insertions, 0 deletions