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

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

Issue 129873009: Remove RenderImage::m_needsToSetSizeForAltText (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/Document.h ('k') | Source/core/rendering/RenderImage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>*)
« no previous file with comments | « Source/core/dom/Document.h ('k') | Source/core/rendering/RenderImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698