[M108 Migration][VD]Add NULL pointer checking and logs for EWebView::Hide 45/289245/4
authorjiangyuwei <yuwei.jiang@samsung.com>
Fri, 3 Mar 2023 07:03:04 +0000 (15:03 +0800)
committerBot Blink <blinkbot@samsung.com>
Wed, 15 Mar 2023 06:25:44 +0000 (06:25 +0000)
commit839c79480aac3ff92b2198537164c685e94efe41
treeeafd5da4d3f9793a497e5b930fbd11d30849281d
parent378bac447f3204607787d26c33227d1e18068147
[M108 Migration][VD]Add NULL pointer checking and logs for EWebView::Hide

1. The pointer(web_contents_) didn't do NULL check before use.
This may cause coredump if web_contents_ is NULL. So add NULL pointer
checking for function Hide.
2. Add some logs for function Hide and EWebView and ~EWebView to trace
certain WebView instance's life cycle.

Reference:
 - https://review.tizen.org/gerrit/#/c/285660/

Change-Id: I315c2e84f7c2f3260af2ddc77ccfad1b9f7e9232
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
tizen_src/ewk/efl_integration/eweb_view.cc
tizen_src/ewk/efl_integration/private/ewk_view_private.cc