summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/TableLayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/rendering/TableLayout.h')
-rw-r--r--Source/WebCore/rendering/TableLayout.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/WebCore/rendering/TableLayout.h b/Source/WebCore/rendering/TableLayout.h
index 23169aa65..0360f9fa3 100644
--- a/Source/WebCore/rendering/TableLayout.h
+++ b/Source/WebCore/rendering/TableLayout.h
@@ -18,9 +18,9 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef TableLayout_h
-#define TableLayout_h
+#pragma once
+#include "LayoutUnit.h"
#include <wtf/FastMalloc.h>
#include <wtf/Noncopyable.h>
@@ -39,6 +39,7 @@ public:
virtual ~TableLayout() { }
virtual void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidth) = 0;
+ virtual LayoutUnit scaledWidthFromPercentColumns() const { return LayoutUnit(0); }
virtual void applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth, LayoutUnit& maxWidth) const = 0;
virtual void layout() = 0;
@@ -51,5 +52,3 @@ protected:
};
} // namespace WebCore
-
-#endif // TableLayout_h