summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WP8/VisualElementRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.WP8/VisualElementRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.WP8/VisualElementRenderer.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.WP8/VisualElementRenderer.cs b/Xamarin.Forms.Platform.WP8/VisualElementRenderer.cs
index 9ec274c5..27e37997 100644
--- a/Xamarin.Forms.Platform.WP8/VisualElementRenderer.cs
+++ b/Xamarin.Forms.Platform.WP8/VisualElementRenderer.cs
@@ -144,7 +144,9 @@ namespace Xamarin.Forms.Platform.WinPhone
var child = Element.LogicalChildren[i] as VisualElement;
if (child == null)
continue;
+#pragma warning disable 618
IVisualElementRenderer renderer = child.GetRenderer();
+#pragma warning restore 618
if (renderer == null)
continue;
Rectangle bounds = child.Bounds;