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

Unified Diff: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp

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/css/ComputedStyleCSSValueMapping.cpp
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
index 86e57236fd9e1d4302daf2f696fd9bfd9ae72581..39124fac467439e890257eafb3ba8f60a9498469 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -3437,8 +3437,8 @@ const CSSValue* ComputedStyleCSSValueMapping::Get(
return ValueForPosition(style.OffsetPosition(), style);
case CSSPropertyOffsetPath:
- if (const StylePath* style_motion_path = style.OffsetPath())
- return style_motion_path->ComputedCSSValue();
+ if (const BasicShape* style_motion_path = style.OffsetPath())
+ return ValueForBasicShape(style, style_motion_path);
return CSSIdentifierValue::Create(CSSValueNone);
case CSSPropertyOffsetDistance:

Powered by Google App Engine
This is Rietveld 408576698