Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Unified Diff: Source/platform/BorderImageLengthBox.h

Issue 55813002: Convert animation and renderer code to know about BorderImageLength (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@length-relative-die-step-1-4
Patch Set: Rebased on top of patch set #2 of https://codereview.chromium.org/55783002/ Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« Source/core/frame/animation/CSSPropertyAnimation.cpp ('K') | « Source/platform/BorderImageLength.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698