[NUI][API10] Fix SVACE issue (ViewStyle.cs CopyFrom null check)
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 19 Mar 2024 03:48:49 +0000 (12:48 +0900)
committerEunki Hong <h.pichulia@gmail.com>
Tue, 19 Mar 2024 04:01:39 +0000 (13:01 +0900)
This PR is copy of #5982

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
src/Tizen.NUI/src/public/BaseComponents/Style/ViewStyle.cs

index e927adc..d7a0b61 100755 (executable)
@@ -566,14 +566,14 @@ namespace Tizen.NUI.BaseComponents
         {
             var source = other as ViewStyle;
 
-            IncludeDefaultStyle = source.IncludeDefaultStyle;
-            SolidNull = source.SolidNull;
-
             if (source == null || source.DirtyProperties == null || source.DirtyProperties.Count == 0)
             {
                 return;
             }
 
+            IncludeDefaultStyle = source.IncludeDefaultStyle;
+            SolidNull = source.SolidNull;
+
             BindableProperty.GetBindablePropertysOfType(GetType(), out var thisBindableProperties);
 
             if (thisBindableProperties == null)