| Index: Source/platform/LengthOrNumberBox.h
|
| diff --git a/Source/platform/LengthOrNumberBox.h b/Source/platform/LengthOrNumberBox.h
|
| index 6fec9d1b882d59743559567a14309b203ad06832..1612db789ac055aaaa3328c6b2dc6bd732ea81d0 100644
|
| --- a/Source/platform/LengthOrNumberBox.h
|
| +++ b/Source/platform/LengthOrNumberBox.h
|
| @@ -20,7 +20,6 @@
|
| #ifndef LengthOrNumberBox_h
|
| #define LengthOrNumberBox_h
|
|
|
| -#include "platform/LengthBox.h"
|
| #include "platform/LengthOrNumber.h"
|
|
|
| namespace WebCore {
|
| @@ -47,11 +46,11 @@ public:
|
| {
|
| }
|
|
|
| - explicit LengthOrNumberBox(LengthBox lengthBox) :
|
| - m_left(lengthBox.m_left),
|
| - m_right(lengthBox.m_right),
|
| - m_top(lengthBox.m_top),
|
| - m_bottom(lengthBox.m_bottom)
|
| + LengthOrNumberBox(LengthOrNumber t, LengthOrNumber r, LengthOrNumber b, LengthOrNumber l)
|
| + : m_left(l)
|
| + , m_right(r)
|
| + , m_top(t)
|
| + , m_bottom(b)
|
| {
|
| }
|
|
|
| @@ -80,12 +79,6 @@ public:
|
| return !(m_left.isZero() && m_right.isZero() && m_top.isZero() && m_bottom.isZero());
|
| }
|
|
|
| - LengthBox lengthBox() const
|
| - {
|
| - return LengthBox(m_top.unifiedLength(), m_right.unifiedLength(),
|
| - m_bottom.unifiedLength(), m_left.unifiedLength());
|
| - }
|
| -
|
| private:
|
| LengthOrNumber m_left;
|
| LengthOrNumber m_right;
|
|
|