Commit be5cc1a2 authored by Hixie's avatar Hixie

OneChildRenderObjectWrapper and Scaffold were ignoring the return value of syncChild().

This would cause them to forget what the most recent child they'd been given was, with disastrous effects later.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/1173683003
parent ba6a9a2b
...@@ -158,7 +158,7 @@ class StocksApp extends App { ...@@ -158,7 +158,7 @@ class StocksApp extends App {
return new ToolBar( return new ToolBar(
left: new IconButton( left: new IconButton(
icon: 'navigation/menu_white', icon: 'navigation/menu_white',
onGestureTap: _drawerController.toggle), onGestureTap: (_) => _drawerController.toggle()),
center: new Text('Stocks'), center: new Text('Stocks'),
right: [ right: [
new IconButton( new IconButton(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment