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

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

Issue 2881673003: CSS Motion Path: Support parsing of ray(<angle>) paths (Closed)
Patch Set: DCHECK_EQ Created 3 years, 7 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 4b3deb08545c1d0e657c6055764f0ef9a1bf81fc..b284a8c875ead5cd237eb24498f5437a6b124d37 100644
--- a/third_party/WebKit/Source/core/style/StyleMotionData.h
+++ b/third_party/WebKit/Source/core/style/StyleMotionData.h
@@ -19,7 +19,7 @@ class StyleMotionData {
public:
StyleMotionData(const LengthPoint& anchor,
const LengthPoint& position,
- StylePath* path,
+ BasicShape* path,
const Length& distance,
StyleOffsetRotation rotation)
: anchor_(anchor),
@@ -35,7 +35,7 @@ class StyleMotionData {
// Must be public for SET_VAR in ComputedStyle.h
LengthPoint anchor_;
LengthPoint position_;
- RefPtr<StylePath> path_; // nullptr indicates path is 'none'
+ RefPtr<BasicShape> path_; // nullptr indicates path is 'none'
Length distance_;
StyleOffsetRotation rotation_;
};

Powered by Google App Engine
This is Rietveld 408576698