diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/rendering/TableLayout.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/rendering/TableLayout.h')
-rw-r--r-- | Source/WebCore/rendering/TableLayout.h | 7 |
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 |