Index: third_party/WebKit/Source/core/dom/Element.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp |
index a186ef98e17009e22ba289c9853ae90f9ed36aa1..9d2d0e45eb3dc2543e010c2ef4a6a85d5b5e42ac 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -1584,7 +1584,7 @@ void Element::detach(const AttachContext& context) |
ElementRareData* data = elementRareData(); |
data->clearPseudoElements(); |
- // attach() will clear the computed style for us when inside recalcStyle. |
+ // attachLayoutTree() will clear the computed style for us when inside recalcStyle. |
if (!document().inStyleRecalc()) |
data->clearComputedStyle(); |