| Index: sky/engine/core/dom/Node.cpp
|
| diff --git a/sky/engine/core/dom/Node.cpp b/sky/engine/core/dom/Node.cpp
|
| index 2837a490dbfada26ea4c73cb760a4a784a3924f1..8f1a273f46f1d88f81ef0ffa61e0f808219ec52e 100644
|
| --- a/sky/engine/core/dom/Node.cpp
|
| +++ b/sky/engine/core/dom/Node.cpp
|
| @@ -728,7 +728,7 @@ void Node::detach(const AttachContext& context)
|
| DocumentLifecycle::DetachScope willDetach(document().lifecycle());
|
|
|
| if (renderer())
|
| - renderer()->destroyAndCleanupAnonymousWrappers();
|
| + renderer()->destroy();
|
| setRenderer(0);
|
|
|
| // Do not remove the element's hovered and active status
|
|
|