Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(609)

Unified Diff: sky/engine/core/dom/Node.cpp

Issue 1070233002: Remove dead code around anonymous renderers. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sky/engine/core/dom/Position.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | sky/engine/core/dom/Position.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698