summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/RenderMultiColumnBlock.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2012-11-09 09:42:44 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2012-11-09 09:42:44 +0100
commita59391482883479a9b28a6f1ace6d1ebd08a7ecd (patch)
treefa539db054a20a67bff2fc891c33b0f4ec632916 /Source/WebCore/rendering/RenderMultiColumnBlock.cpp
parentcfd86b747d32ac22246a1aa908eaa720c63a88c1 (diff)
downloadqtwebkit-a59391482883479a9b28a6f1ace6d1ebd08a7ecd.tar.gz
Imported WebKit commit 7bcdfab9a40db7d16b4b95bb77d78b8a59c9e701 (http://svn.webkit.org/repository/webkit/trunk@134025)
New snapshot with numerious build fixes, including MSVC 2012 and ARM Thumb-2.
Diffstat (limited to 'Source/WebCore/rendering/RenderMultiColumnBlock.cpp')
-rw-r--r--Source/WebCore/rendering/RenderMultiColumnBlock.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebCore/rendering/RenderMultiColumnBlock.cpp b/Source/WebCore/rendering/RenderMultiColumnBlock.cpp
index 221cb4d30..ba3ccd9b2 100644
--- a/Source/WebCore/rendering/RenderMultiColumnBlock.cpp
+++ b/Source/WebCore/rendering/RenderMultiColumnBlock.cpp
@@ -37,8 +37,8 @@ RenderMultiColumnBlock::RenderMultiColumnBlock(Node* node)
: RenderBlock(node)
, m_flowThread(0)
, m_columnCount(1)
- , m_columnWidth(ZERO_LAYOUT_UNIT)
- , m_columnHeight(ZERO_LAYOUT_UNIT)
+ , m_columnWidth(0)
+ , m_columnHeight(0)
{
}
@@ -83,13 +83,13 @@ void RenderMultiColumnBlock::checkForPaginationLogicalHeightChange(LayoutUnit& /
// We don't actually update any of the variables. We just subclassed to adjust our column height.
updateLogicalHeight();
LayoutUnit newContentLogicalHeight = contentLogicalHeight();
- if (newContentLogicalHeight > ZERO_LAYOUT_UNIT) {
+ if (newContentLogicalHeight > 0) {
// The regions will be invalidated when we lay them out and they change size to
// the new column height.
if (columnHeight() != newContentLogicalHeight)
setColumnHeight(newContentLogicalHeight);
}
- setLogicalHeight(ZERO_LAYOUT_UNIT);
+ setLogicalHeight(0);
// Set up our column sets.
ensureColumnSets();