summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/RenderTableSection.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-02-09 14:16:12 +0100
committerSimon Hausmann <simon.hausmann@nokia.com>2012-02-09 14:16:12 +0100
commit03e12282df9aa1e1fb05a8b90f1cfc2e08764cec (patch)
tree52599cd0ab782b1768e23ad176f7618f98333cb6 /Source/WebCore/rendering/RenderTableSection.h
parentcd44dc59cdfc39534aef4d417e9f3c412e3be139 (diff)
downloadqtwebkit-03e12282df9aa1e1fb05a8b90f1cfc2e08764cec.tar.gz
Imported WebKit commit e09a82039aa4273ab318b71122e92d8e5f233525 (http://svn.webkit.org/repository/webkit/trunk@107223)
Diffstat (limited to 'Source/WebCore/rendering/RenderTableSection.h')
-rw-r--r--Source/WebCore/rendering/RenderTableSection.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/Source/WebCore/rendering/RenderTableSection.h b/Source/WebCore/rendering/RenderTableSection.h
index 7517a0ac0..d12c87041 100644
--- a/Source/WebCore/rendering/RenderTableSection.h
+++ b/Source/WebCore/rendering/RenderTableSection.h
@@ -55,8 +55,8 @@ public:
void addCell(RenderTableCell*, RenderTableRow* row);
void setCellLogicalWidths();
- LayoutUnit calcRowLogicalHeight();
- LayoutUnit layoutRows(LayoutUnit logicalHeight);
+ int calcRowLogicalHeight();
+ int layoutRows(int logicalHeight);
RenderTable* table() const { return toRenderTable(parent()); }
@@ -87,7 +87,7 @@ public:
struct RowStruct {
RowStruct()
: rowRenderer(0)
- , baseline(0)
+ , baseline()
{
}
@@ -108,16 +108,16 @@ public:
void appendColumn(unsigned pos);
void splitColumn(unsigned pos, unsigned first);
- LayoutUnit calcOuterBorderBefore() const;
- LayoutUnit calcOuterBorderAfter() const;
- LayoutUnit calcOuterBorderStart() const;
- LayoutUnit calcOuterBorderEnd() const;
+ int calcOuterBorderBefore() const;
+ int calcOuterBorderAfter() const;
+ int calcOuterBorderStart() const;
+ int calcOuterBorderEnd() const;
void recalcOuterBorder();
- LayoutUnit outerBorderBefore() const { return m_outerBorderBefore; }
- LayoutUnit outerBorderAfter() const { return m_outerBorderAfter; }
- LayoutUnit outerBorderStart() const { return m_outerBorderStart; }
- LayoutUnit outerBorderEnd() const { return m_outerBorderEnd; }
+ int outerBorderBefore() const { return m_outerBorderBefore; }
+ int outerBorderAfter() const { return m_outerBorderAfter; }
+ int outerBorderStart() const { return m_outerBorderStart; }
+ int outerBorderEnd() const { return m_outerBorderEnd; }
unsigned numRows() const { return m_grid.size(); }
unsigned numColumns() const;
@@ -173,16 +173,16 @@ private:
RenderObjectChildList m_children;
Vector<RowStruct> m_grid;
- Vector<LayoutUnit> m_rowPos;
+ Vector<int> m_rowPos;
// the current insertion position
unsigned m_cCol;
unsigned m_cRow;
- LayoutUnit m_outerBorderStart;
- LayoutUnit m_outerBorderEnd;
- LayoutUnit m_outerBorderBefore;
- LayoutUnit m_outerBorderAfter;
+ int m_outerBorderStart;
+ int m_outerBorderEnd;
+ int m_outerBorderBefore;
+ int m_outerBorderAfter;
bool m_needsCellRecalc;