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

Unified Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 1866303002: Rename Document::hasPendingStyleRecalc to hasPendingVisualUpdate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revise description of commit message Created 4 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 | « third_party/WebKit/Source/core/dom/Document.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index 1e74e39956bc63178b9199836853678fecd3bce5..1de225cbb00f0758a76f3fa816899de0504a1b71 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -1559,7 +1559,7 @@ bool Document::shouldScheduleLayoutTreeUpdate() const
void Document::scheduleLayoutTreeUpdate()
{
- ASSERT(!hasPendingStyleRecalc());
+ ASSERT(!hasPendingVisualUpdate());
ASSERT(shouldScheduleLayoutTreeUpdate());
ASSERT(needsLayoutTreeUpdate());
@@ -1575,7 +1575,7 @@ void Document::scheduleLayoutTreeUpdate()
bool Document::hasPendingForcedStyleRecalc() const
{
- return hasPendingStyleRecalc() && !inStyleRecalc() && getStyleChangeType() >= SubtreeStyleChange;
+ return hasPendingVisualUpdate() && !inStyleRecalc() && getStyleChangeType() >= SubtreeStyleChange;
}
void Document::updateStyleInvalidationIfNeeded()
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698