summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/FixedTableLayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/rendering/FixedTableLayout.h')
-rw-r--r--Source/WebCore/rendering/FixedTableLayout.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/Source/WebCore/rendering/FixedTableLayout.h b/Source/WebCore/rendering/FixedTableLayout.h
index 9fa56d172..05d482a56 100644
--- a/Source/WebCore/rendering/FixedTableLayout.h
+++ b/Source/WebCore/rendering/FixedTableLayout.h
@@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef FixedTableLayout_h
-#define FixedTableLayout_h
+#pragma once
#include "LayoutUnit.h"
#include "Length.h"
@@ -30,20 +29,18 @@ namespace WebCore {
class RenderTable;
-class FixedTableLayout : public TableLayout {
+class FixedTableLayout final : public TableLayout {
public:
explicit FixedTableLayout(RenderTable*);
- virtual void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidth) override;
- virtual void applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth, LayoutUnit& maxWidth) const override;
- virtual void layout();
+ void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidth) override;
+ void applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth, LayoutUnit& maxWidth) const override;
+ void layout() override;
private:
- int calcWidthArray();
+ float calcWidthArray();
Vector<Length> m_width;
};
} // namespace WebCore
-
-#endif // FixedTableLayout_h