diff options
author | E.Z. Hart <hartez@users.noreply.github.com> | 2016-05-02 16:19:12 -0600 |
---|---|---|
committer | Samantha Houts <samantha@teamredwall.com> | 2016-05-02 15:19:12 -0700 |
commit | 5f8f47ff7ce934f4937ec428b3c1def6286f14da (patch) | |
tree | 832d48d28c09eccd8b39838d16b0b9887bff7e55 /Xamarin.Forms.Core.UnitTests | |
parent | 70d0e406ec2fcaf8c883d9b7aa2fc287466645ca (diff) | |
download | xamarin-forms-5f8f47ff7ce934f4937ec428b3c1def6286f14da.tar.gz xamarin-forms-5f8f47ff7ce934f4937ec428b3c1def6286f14da.tar.bz2 xamarin-forms-5f8f47ff7ce934f4937ec428b3c1def6286f14da.zip |
Prep VisualElement (and descendants) for removal of InternalsVisibleTo (#141)
Diffstat (limited to 'Xamarin.Forms.Core.UnitTests')
-rw-r--r-- | Xamarin.Forms.Core.UnitTests/GridTests.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Xamarin.Forms.Core.UnitTests/GridTests.cs b/Xamarin.Forms.Core.UnitTests/GridTests.cs index 203d3b64..359d2b5b 100644 --- a/Xamarin.Forms.Core.UnitTests/GridTests.cs +++ b/Xamarin.Forms.Core.UnitTests/GridTests.cs @@ -2,6 +2,7 @@ using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; +using Xamarin.Forms.Internals; namespace Xamarin.Forms.Core.UnitTests { @@ -1555,7 +1556,7 @@ namespace Xamarin.Forms.Core.UnitTests bool fire = true; child.SizeChanged += (sender, args) => { if (fire) - child.InvalidateMeasure (InvalidationTrigger.Undefined); + ((IVisualElementController)child).InvalidateMeasure(InvalidationTrigger.Undefined); fire = false; }; |