Chromium Code Reviews| Index: Source/platform/BorderImageLengthBox.h |
| diff --git a/Source/platform/BorderImageLengthBox.h b/Source/platform/BorderImageLengthBox.h |
| index 1686b217f75f38ccbd885e65bba0e529073855de..0c67fe9a393652ef2726e129c36b9e97256fc01c 100644 |
| --- a/Source/platform/BorderImageLengthBox.h |
| +++ b/Source/platform/BorderImageLengthBox.h |
| @@ -32,7 +32,6 @@ |
| #define BorderImageLengthBox_h |
| #include "platform/BorderImageLength.h" |
| -#include "platform/LengthBox.h" |
| namespace WebCore { |
| @@ -58,12 +57,11 @@ public: |
| { |
| } |
| - // FIXME: Remove when the conversion to BorderImageLengthBox is complete |
| - explicit BorderImageLengthBox(LengthBox lengthBox) |
| - : m_left(lengthBox.m_left) |
| - , m_right(lengthBox.m_right) |
| - , m_top(lengthBox.m_top) |
| - , m_bottom(lengthBox.m_bottom) |
| + BorderImageLengthBox(const BorderImageLength& t, const BorderImageLength& r, const BorderImageLength& b, const BorderImageLength& l) |
|
Julien - ping for review
2013/11/04 18:15:54
Remember my stick about |o|, well it applies also
davve
2013/11/07 13:18:45
OK.
|
| + : m_left(l) |
| + , m_right(r) |
| + , m_top(t) |
| + , m_bottom(b) |
| { |
| } |
| @@ -93,13 +91,6 @@ public: |
| return !(m_left.isZero() && m_right.isZero() && m_top.isZero() && m_bottom.isZero()); |
| } |
| - // FIXME: Remove when the conversion to BorderImageLengthBox is complete |
| - LengthBox deprecatedLengthBox() const |
| - { |
| - return LengthBox(m_top.deprecatedUnifiedLength(), m_right.deprecatedUnifiedLength(), |
| - m_bottom.deprecatedUnifiedLength(), m_left.deprecatedUnifiedLength()); |
| - } |
| - |
| private: |
| BorderImageLength m_left; |
| BorderImageLength m_right; |