| 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 20215c2d36eff63929e0278e751e75e52feeeedf..474868b8a06284970cb3ed21f287d6c88b8584cc 100644
|
| --- a/third_party/WebKit/Source/core/style/StyleMotionData.h
|
| +++ b/third_party/WebKit/Source/core/style/StyleMotionData.h
|
| @@ -8,6 +8,7 @@
|
| #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,8 +16,10 @@ namespace blink {
|
| class StyleMotionData {
|
| DISALLOW_NEW();
|
| public:
|
| - StyleMotionData(StylePath* path, const Length& distance, StyleOffsetRotation rotation)
|
| - : m_path(path)
|
| + 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,6 +30,8 @@ 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_distance;
|
| StyleOffsetRotation m_rotation;
|
|
|