提交 1e29959a 编写于 作者: H Hixie

[Effen] add an assert that you don't try to re-add a defunct node

R=abarth@chromium.org, eseidel@chromium.org

Review URL: https://codereview.chromium.org/1149533002
上级 cf4733f2
......@@ -109,6 +109,7 @@ abstract class UINode {
return oldNode;
}
assert(!node._defunct);
node._parent = this;
if (oldNode == null) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册