summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/TableLayout.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/rendering/TableLayout.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
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