Merge pull request #1304 from slluis/mac-proxy-autoconfig
[mono.git] / mcs / class / System.Xml.Linq / System.Xml.Linq / XObject.cs
index c620e4f59920c2ccc557db25241bbcec05c79b6d..0e094d0c474e82baf83dbfa1094e23a718378b62 100644 (file)
@@ -208,16 +208,16 @@ namespace System.Xml.Linq
                {
                        if (Changing != null)
                                Changing (sender, args);
-                       if (Parent != null)
-                               Parent.OnChanging (sender, args);
+                       if (Owner != null)
+                               Owner.OnChanging (sender, args);
                }
 
                void OnChanged (object sender, XObjectChangeEventArgs args)
                {
                        if (Changed != null)
                                Changed (sender, args);
-                       if (Parent != null)
-                               Parent.OnChanged (sender, args);
+                       if (Owner != null)
+                               Owner.OnChanged (sender, args);
                }
        }
 }