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

Unified Diff: third_party/WebKit/Source/core/css/properties/CSSPropertyOffsetPathUtils.cpp

Issue 2827003002: CSS Motion Path: delete implementation of motion-path property (Closed)
Patch Set: ManualTests Created 3 years, 8 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/properties/CSSPropertyOffsetPathUtils.cpp
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyOffsetPathUtils.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyOffsetPathUtils.cpp
index a6a31a68c4f78e09bd26748259ee097ff92da9f2..e129977ff7f7f2f7e03a435338a9af2cc6b13968 100644
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyOffsetPathUtils.cpp
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyOffsetPathUtils.cpp
@@ -45,18 +45,12 @@ CSSValue* ConsumePath(CSSParserTokenRange& range) {
CSSValue* CSSPropertyOffsetPathUtils::ConsumeOffsetPath(
CSSParserTokenRange& range,
- const CSSParserContext* context,
- bool is_motion_path) {
+ const CSSParserContext* context) {
CSSValue* value = ConsumePathOrNone(range);
// Count when we receive a valid path other than 'none'.
- if (value && !value->IsIdentifierValue()) {
- if (is_motion_path) {
- context->Count(UseCounter::kCSSMotionInEffect);
- } else {
- context->Count(UseCounter::kCSSOffsetInEffect);
- }
- }
+ if (value && !value->IsIdentifierValue())
+ context->Count(UseCounter::kCSSOffsetInEffect);
return value;
}

Powered by Google App Engine
This is Rietveld 408576698