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

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

Issue 211773002: Rename updateStyle to updateRenderTree (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
« Source/core/dom/Document.h ('K') | « Source/core/dom/Document.cpp ('k') | no next file » | 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 74fad30010f3bf731a8e0a52059a5e467faa83db..82104d62565862052bb1c9bbe7c24cf4b3089010 100644
--- a/Source/core/dom/Node.cpp
+++ b/Source/core/dom/Node.cpp
@@ -651,7 +651,7 @@ void Node::markAncestorsWithChildNeedsStyleInvalidation()
for (Node* node = parentOrShadowHostNode(); node && !node->childNeedsStyleInvalidation(); node = node->parentOrShadowHostNode())
node->setChildNeedsStyleInvalidation();
if (document().childNeedsStyleInvalidation())
- document().scheduleStyleRecalc();
+ document().scheduleRenderTreeUpdate();
}
void Node::markAncestorsWithChildNeedsDistributionRecalc()
@@ -659,7 +659,7 @@ void Node::markAncestorsWithChildNeedsDistributionRecalc()
for (Node* node = this; node && !node->childNeedsDistributionRecalc(); node = node->parentOrShadowHostNode())
node->setChildNeedsDistributionRecalc();
if (document().childNeedsDistributionRecalc())
- document().scheduleStyleRecalc();
+ document().scheduleRenderTreeUpdate();
}
namespace {
@@ -746,7 +746,7 @@ void Node::markAncestorsWithChildNeedsStyleRecalc()
p->setChildNeedsStyleRecalc();
if (document().needsStyleRecalc() || document().childNeedsStyleRecalc())
- document().scheduleStyleRecalc();
+ document().scheduleRenderTreeUpdate();
}
void Node::setNeedsStyleRecalc(StyleChangeType changeType)
« Source/core/dom/Document.h ('K') | « Source/core/dom/Document.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698