| Index: third_party/WebKit/Source/core/style/StyleMotionData.h
|
| diff --git a/third_party/WebKit/Source/core/style/StyleMotionData.h b/third_party/WebKit/Source/core/style/StyleMotionData.h
|
| index faa2f6ad40e5ff0a36b92d8d4aef5c4f3e8f426d..474868b8a06284970cb3ed21f287d6c88b8584cc 100644
|
| --- a/third_party/WebKit/Source/core/style/StyleMotionData.h
|
| +++ b/third_party/WebKit/Source/core/style/StyleMotionData.h
|
| @@ -5,9 +5,10 @@
|
| #ifndef StyleMotionData_h
|
| #define StyleMotionData_h
|
|
|
| -#include "core/style/StyleMotionRotation.h"
|
| +#include "core/style/StyleOffsetRotation.h"
|
| #include "core/style/StylePath.h"
|
| #include "platform/Length.h"
|
| +#include "platform/LengthPoint.h"
|
| #include "wtf/Allocator.h"
|
|
|
| namespace blink {
|
| @@ -15,9 +16,11 @@ namespace blink {
|
| class StyleMotionData {
|
| DISALLOW_NEW();
|
| public:
|
| - StyleMotionData(StylePath* path, const Length& offset, StyleMotionRotation rotation)
|
| - : m_path(path)
|
| - , m_offset(offset)
|
| + StyleMotionData(const LengthPoint& anchor, const LengthPoint& position, StylePath* path, const Length& distance, StyleOffsetRotation rotation)
|
| + : m_anchor(anchor)
|
| + , m_position(position)
|
| + , m_path(path)
|
| + , m_distance(distance)
|
| , m_rotation(rotation)
|
| {
|
| }
|
| @@ -27,9 +30,11 @@ public:
|
| bool operator!=(const StyleMotionData& o) const { return !(*this == o); }
|
|
|
| // Must be public for SET_VAR in ComputedStyle.h
|
| + LengthPoint m_anchor;
|
| + LengthPoint m_position;
|
| RefPtr<StylePath> m_path; // nullptr indicates path is 'none'
|
| - Length m_offset;
|
| - StyleMotionRotation m_rotation;
|
| + Length m_distance;
|
| + StyleOffsetRotation m_rotation;
|
| };
|
|
|
| } // namespace blink
|
|
|