Revert "[Tizen] Ensure PropertyValue returned from native side is not null." 91/133791/1
authordongsug.song <dongsug.song@samsung.com>
Tue, 13 Jun 2017 07:41:50 +0000 (16:41 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Tue, 13 Jun 2017 07:41:55 +0000 (16:41 +0900)
This reverts commit 7d433d9e1a4486ab66383f869701f639e2ecf170.

Change-Id: I4332426db599edf40196126d38ffc8421d74987c

Tizen.NUI/src/public/BaseComponents/TextEditor.cs
Tizen.NUI/src/public/BaseComponents/View.cs

index adc4a0e..c49d3df 100755 (executable)
@@ -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;
             }
         }
index f9d4e8f..9f4a057 100755 (executable)
@@ -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;