Chromium Code Reviews| 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..a3f5aad1751a71a19fc465766f5028f08d2bbf2b 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" |
|
alancutter (OOO until 2018)
2016/09/19 00:49:54
Is this include necessary?
Eric Willigers
2016/09/19 01:54:40
Removed for now. Will add again when we support of
|
| #include "wtf/Allocator.h" |
| namespace blink { |
| @@ -15,9 +16,9 @@ namespace blink { |
| class StyleMotionData { |
| DISALLOW_NEW(); |
| public: |
| - StyleMotionData(StylePath* path, const Length& offset, StyleMotionRotation rotation) |
| + StyleMotionData(StylePath* path, const Length& distance, StyleOffsetRotation rotation) |
| : m_path(path) |
| - , m_offset(offset) |
| + , m_distance(distance) |
| , m_rotation(rotation) |
| { |
| } |
| @@ -28,8 +29,8 @@ public: |
| // Must be public for SET_VAR in ComputedStyle.h |
| RefPtr<StylePath> m_path; // nullptr indicates path is 'none' |
| - Length m_offset; |
| - StyleMotionRotation m_rotation; |
| + Length m_distance; |
| + StyleOffsetRotation m_rotation; |
| }; |
| } // namespace blink |