From: dongsug.song Date: Tue, 13 Jun 2017 07:41:50 +0000 (+0900) Subject: Revert "[Tizen] Ensure PropertyValue returned from native side is not null." X-Git-Tag: preview1-00180^2~257 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f85db0bd20316b24ca6378f54fec2e504fc43572;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Revert "[Tizen] Ensure PropertyValue returned from native side is not null." This reverts commit 7d433d9e1a4486ab66383f869701f639e2ecf170. Change-Id: I4332426db599edf40196126d38ffc8421d74987c --- diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs b/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs index adc4a0eb8..c49d3df97 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs @@ -1282,7 +1282,7 @@ namespace Tizen.NUI.BaseComponents get { int temp = 0; - GetProperty(TextEditor.Property.LINE_COUNT).Get(ref temp); + GetProperty(TextEditor.Property.LINE_COUNT).Get(out temp); return temp; } } diff --git a/src/Tizen.NUI/src/public/BaseComponents/View.cs b/src/Tizen.NUI/src/public/BaseComponents/View.cs index f9d4e8ffa..9f4a057a8 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/View.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/View.cs @@ -1091,10 +1091,10 @@ namespace Tizen.NUI.BaseComponents Tizen.NUI.PropertyMap background = Background; int visualType = 0; - background.Find(Visual.Property.Type)?.Get(ref visualType); + background.Find(Visual.Property.Type).Get(ref visualType); if (visualType == (int)Visual.Type.Color) { - background.Find(ColorVisualProperty.MixColor)?.Get(backgroundColor); + background.Find(ColorVisualProperty.MixColor).Get(backgroundColor); } return backgroundColor; @@ -1116,10 +1116,10 @@ namespace Tizen.NUI.BaseComponents Tizen.NUI.PropertyMap background = Background; int visualType = 0; - background.Find(Visual.Property.Type)?.Get(ref visualType); + background.Find(Visual.Property.Type).Get(ref visualType); if (visualType == (int)Visual.Type.Image) { - background.Find(ImageVisualProperty.URL)?.Get(out backgroundImage); + background.Find(ImageVisualProperty.URL).Get(out backgroundImage); } return backgroundImage;