Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/animation/BasicShapePropertyFunctions.h

Issue 2312713002: Unprefix -webkit-clip-path (Closed)
Patch Set: Rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/animation/BasicShapePropertyFunctions.h
diff --git a/third_party/WebKit/Source/core/animation/BasicShapePropertyFunctions.h b/third_party/WebKit/Source/core/animation/BasicShapePropertyFunctions.h
index 294bf6c02751d232ff95e926a7762e96d96f2ede..03a0b528358b3cbc5fdf21b57d69978be8662396 100644
--- a/third_party/WebKit/Source/core/animation/BasicShapePropertyFunctions.h
+++ b/third_party/WebKit/Source/core/animation/BasicShapePropertyFunctions.h
@@ -33,7 +33,7 @@ public:
if (style.shapeOutside()->cssBox() != BoxMissing)
return nullptr;
return style.shapeOutside()->shape();
- case CSSPropertyWebkitClipPath:
+ case CSSPropertyClipPath:
if (!style.clipPath())
return nullptr;
if (style.clipPath()->type() != ClipPathOperation::SHAPE)
@@ -51,7 +51,7 @@ public:
case CSSPropertyShapeOutside:
style.setShapeOutside(ShapeValue::createShapeValue(std::move(shape), BoxMissing));
break;
- case CSSPropertyWebkitClipPath:
+ case CSSPropertyClipPath:
style.setClipPath(ShapeClipPathOperation::create(std::move(shape)));
break;
default:

Powered by Google App Engine