[Tizen][Web] Update WebView terminate crash 26/283926/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Mon, 7 Nov 2022 08:43:26 +0000 (17:43 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Mon, 7 Nov 2022 08:50:45 +0000 (17:50 +0900)
commit9eefda2585dc5336aaa2213bb51ac794c97308b3
treee79e591837a00dbeb19bae16b4cfc9fd1159a1a5
parent355e44fff1146aed5c43ef3dd5dd89a74fbfccd8
[Tizen][Web] Update WebView terminate crash

Due to tizen_7.0 branch will not merge devel/master,
we should sync latest code style by our hands.

== This git commit is squash of below two patches ==

Revert "[Tizen][Web] Fix WebView terminate crash"

This reverts commit 52e86addc31a0b4393e8b7450e4b3c8a877f633d.

[Web] Fix WebView terminate crash

Due to the web context closed before all webview released,
mPlugin and mDestroyWebEnginePtr are invalid.

This patch make reference count so we can assume that
plugin is alive

Change-Id: Ia4a7f810c7aa02c3bd93c061ddb876debd6d4ad5
dali/internal/web-engine/common/web-engine-impl.cpp