| 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()
|
|
|