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

Unified Diff: Source/core/dom/Node.cpp

Issue 23874007: Rename AttachBehavior to RecalcStyleBehavior (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix enum usage Created 7 years, 3 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 | « Source/core/dom/Node.h ('k') | Source/core/dom/Text.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.cpp
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
index 8275f8957db85d7dbfd8d6f56de5d22893d149df..10ad8b8e7d66dde981849d7bacef6e423ce517aa 100644
--- a/Source/core/dom/Node.cpp
+++ b/Source/core/dom/Node.cpp
@@ -1062,8 +1062,7 @@ inline void Node::detachNode(Node* root, const AttachContext& context)
void Node::reattach(const AttachContext& context)
{
- // FIXME: Text::updateTextRenderer calls reattach outside a style recalc.
- ASSERT(document().inStyleRecalc() || isTextNode());
+ ASSERT(document().inStyleRecalc());
AttachContext reattachContext(context);
reattachContext.performingReattach = true;
« no previous file with comments | « Source/core/dom/Node.h ('k') | Source/core/dom/Text.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698