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

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

Issue 211773002: Rename updateStyle to updateRenderTree (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix tracing test 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
« no previous file with comments | « Source/core/dom/FullscreenElementStack.cpp ('k') | Source/core/dom/Text.cpp » ('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 74fad30010f3bf731a8e0a52059a5e467faa83db..9d2939a33e7a5ebdf0eaa38651073be5e3c0e474 100644
--- a/Source/core/dom/Node.cpp
+++ b/Source/core/dom/Node.cpp
@@ -500,13 +500,13 @@ const AtomicString& Node::namespaceURI() const
bool Node::isContentEditable(UserSelectAllTreatment treatment)
{
- document().updateStyleIfNeeded();
+ document().updateRenderTreeIfNeeded();
return rendererIsEditable(Editable, treatment);
}
bool Node::isContentRichlyEditable()
{
- document().updateStyleIfNeeded();
+ document().updateRenderTreeIfNeeded();
return rendererIsEditable(RichlyEditable, UserSelectAllIsAlwaysNonEditable);
}
@@ -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)
« no previous file with comments | « Source/core/dom/FullscreenElementStack.cpp ('k') | Source/core/dom/Text.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698