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

Unified Diff: third_party/WebKit/Source/core/style/StyleMotionData.h

Issue 2241993002: CSS Motion Path: New names for properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 3 months 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: 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..20215c2d36eff63929e0278e751e75e52feeeedf 100644
--- a/third_party/WebKit/Source/core/style/StyleMotionData.h
+++ b/third_party/WebKit/Source/core/style/StyleMotionData.h
@@ -5,7 +5,7 @@
#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 "wtf/Allocator.h"
@@ -15,9 +15,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 +28,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

Powered by Google App Engine
This is Rietveld 408576698