VectorImageRenderer: Add failure check condition for nsvgParse 15/264615/2
authorJunsuChoi <jsuya.choi@samsung.com>
Mon, 27 Sep 2021 08:14:05 +0000 (17:14 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Mon, 27 Sep 2021 08:17:52 +0000 (17:17 +0900)
commit6158b8dc4860ddf42cee2342d1286ca20adcdaec
tree57135d3aee102ca93d20100a29abb1c3fc6f874e
parente80dd3e21898787de4fd4e03b84889dabb498c1f
VectorImageRenderer: Add failure check condition for nsvgParse

NSVGimage returned by nsvgParse may be assigned even if it is not a normal SVG.
Add test conditions to check more accurately.

Change-Id: I6ccf4af7db708d3e8fd0b511c7e50d3545c56200
dali/internal/vector-image/common/vector-image-renderer-impl.cpp