From a880ced67d33fe468ac69796d487fa96b5e90746 Mon Sep 17 00:00:00 2001 From: Alhaad Gokhale Date: Tue, 7 Jun 2016 15:00:55 -0700 Subject: [PATCH] Fix adding child views to container after changes to dart bindings. @abarth --- packages/flutter/lib/src/rendering/child_view.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/rendering/child_view.dart b/packages/flutter/lib/src/rendering/child_view.dart index 164926da6c1..73d556b5bf1 100644 --- a/packages/flutter/lib/src/rendering/child_view.dart +++ b/packages/flutter/lib/src/rendering/child_view.dart @@ -127,7 +127,7 @@ class ChildViewConnection { assert(_viewKey == null); assert(_viewInfo == null); _viewKey = _nextViewKey++; - _viewContainer?.addChild(_viewKey, _viewOwner.impl); + _viewContainer?.addChild(_viewKey, _viewOwner); _viewOwner = null; assert(!_ViewContainerListenerImpl.instance._connections.containsKey(_viewKey)); _ViewContainerListenerImpl.instance._connections[_viewKey] = this;