Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 73f20e044eff49f9a207fc7fc9b2a43e45470128..52e5c415a33db07c8c1eb076ec0fb4663d53d287 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -1547,14 +1547,9 @@ void Document::unscheduleStyleRecalc() |
m_styleRecalcTimer.stop(); |
} |
-bool Document::hasPendingStyleRecalc() const |
-{ |
- return m_styleRecalcTimer.isActive() && !m_inStyleRecalc; |
-} |
- |
bool Document::hasPendingForcedStyleRecalc() const |
{ |
- return hasPendingStyleRecalc() && styleChangeType() >= SubtreeStyleChange; |
+ return m_styleRecalcTimer.isActive() && !m_inStyleRecalc && styleChangeType() >= SubtreeStyleChange; |
} |
void Document::styleRecalcTimerFired(Timer<Document>*) |