[NUI] use Size2DProperty for GetNaturalSize() instead of local field (#2515)
authorYeongJong Lee <cleanlyj@naver.com>
Thu, 14 Jan 2021 01:43:01 +0000 (10:43 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 19 Jan 2021 05:32:11 +0000 (14:32 +0900)
commitfcca24c93a17c6fed3a051f9d0a79731d6aab52b
treed319b893debf905b6446e3112cb2f5abd51adebc
parent8d3fadbebd8be1f4f747ec87bd92297bc4908959
[NUI] use Size2DProperty for GetNaturalSize() instead of local field (#2515)

Since we can take the size value using `Size2DProperty`, we don't need to
save Size2D value in local value.
It will save a bit of memory.
src/Tizen.NUI/src/public/BaseComponents/CustomView.cs
src/Tizen.NUI/src/public/BaseComponents/View.cs