提交 a4196226 编写于 作者: H Hixie

Fix the sector demo.

Turns out it's ok to not detach all the RenderObjects from the widget
tree from each other, since they're not reused... but the
WidgetToRenderBoxAdapter's renderBox _is_ reused, so we better detach
that one.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/1191053002.
上级 b1210c63
......@@ -429,4 +429,9 @@ class WidgetToRenderBoxAdapter extends RenderObjectWrapper {
// definition, it is the transition out of the Widget world.
}
void remove() {
parent.detachChildRoot(this);
super.remove();
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册