summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/LengthBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/LengthBox.h')
-rw-r--r--WebCore/platform/LengthBox.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/WebCore/platform/LengthBox.h b/WebCore/platform/LengthBox.h
index 7d7698d..cf56389 100644
--- a/WebCore/platform/LengthBox.h
+++ b/WebCore/platform/LengthBox.h
@@ -45,6 +45,14 @@ struct LengthBox {
, m_bottom(Length(v, Fixed))
{
}
+
+ LengthBox(Length t, Length r, Length b, Length l)
+ : m_left(l)
+ , m_right(r)
+ , m_top(t)
+ , m_bottom(b)
+ {
+ }
LengthBox(int t, int r, int b, int l)
: m_left(Length(l, Fixed))