Unreviewed, qt build fix.
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::removeFloatingObject):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77573
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2011-02-03 Abhishek Arya <inferno@chromium.org>
+
+ Unreviewed, qt build fix.
+
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::removeFloatingObject):
+
2011-02-03 Brian Salomon <bsalomon@google.com>
Reviewed by James Robinson.
// Special-case zero- and less-than-zero-height floats: those don't touch
// the line that they're on, but it still needs to be dirtied. This is
// accomplished by pretending they have a height of 1.
- logicalBottom = max(logicalBottom, max(logicalTop + 1, logicalTop));
+ logicalBottom = max(logicalBottom, logicalTop == numeric_limits<int>::max() ? logicalTop : logicalTop + 1);
markLinesDirtyInBlockRange(0, logicalBottom);
}
m_floatingObjects->removeRef(it.current());