From 292b972fc2614dc448da86cbfb5fa32821509694 Mon Sep 17 00:00:00 2001 From: "dongsug.song" Date: Tue, 13 Jun 2017 16:41:50 +0900 Subject: [PATCH] Revert "[Tizen] Ensure PropertyValue returned from native side is not null." This reverts commit 7d433d9e1a4486ab66383f869701f639e2ecf170. Change-Id: I4332426db599edf40196126d38ffc8421d74987c --- Tizen.NUI/src/public/BaseComponents/TextEditor.cs | 2 +- Tizen.NUI/src/public/BaseComponents/View.cs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Tizen.NUI/src/public/BaseComponents/TextEditor.cs b/Tizen.NUI/src/public/BaseComponents/TextEditor.cs index adc4a0e..c49d3df 100755 --- a/Tizen.NUI/src/public/BaseComponents/TextEditor.cs +++ b/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/Tizen.NUI/src/public/BaseComponents/View.cs b/Tizen.NUI/src/public/BaseComponents/View.cs index f9d4e8f..9f4a057 100755 --- a/Tizen.NUI/src/public/BaseComponents/View.cs +++ b/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; -- 2.7.4