Fix crash issue when favicon is null. 15/258015/5
authorhuayong.xu <huayong.xu@samsung.com>
Fri, 7 May 2021 11:00:57 +0000 (19:00 +0800)
committerhuayong.xu <huayong.xu@samsung.com>
Tue, 11 May 2021 03:23:24 +0000 (11:23 +0800)
commit0e45ebf0c1d7baf6a81c94356aae6d6dbca227b7
treed66d9da4056a3579a1bb8461a54a430e159519b2
parentd48f1af617203f1dee78e3914f6080ec72cab38e
Fix crash issue when favicon is null.

When favicon of web page is null, it would cause crash.
This patch is to add a check if pixel data is null or not.

Change-Id: If6b5f88053c2377ed4a87b6d83600cdd7f9c6746
automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-web-engine.cpp
automated-tests/src/dali-toolkit/utc-Dali-WebView.cpp
dali-toolkit/devel-api/controls/web-view/web-view.cpp
dali-toolkit/devel-api/controls/web-view/web-view.h
dali-toolkit/internal/controls/web-view/web-view-impl.cpp
dali-toolkit/internal/controls/web-view/web-view-impl.h