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

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

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. 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 d976d6a38e2683525bcb516655afa4ae813140ac..ecbb928c555ecdb76cbd89b3e472ee2c5bd100c1 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -2650,10 +2650,8 @@ const CSSValue* ComputedStyleCSSValueMapping::get(CSSPropertyID propertyID, cons
return valueForCounterDirectives(style, propertyID);
case CSSPropertyCounterReset:
return valueForCounterDirectives(style, propertyID);
- case CSSPropertyWebkitClipPath:
case CSSPropertyClipPath:
- if (ClipPathOperation* operation = propertyID == CSSPropertyWebkitClipPath
- ? style.clipPath() : style.svgStyle().clipPath()) {
+ if (ClipPathOperation* operation = style.clipPath()) {
if (operation->type() == ClipPathOperation::SHAPE)
return valueForBasicShape(style, toShapeClipPathOperation(operation)->basicShape());
if (operation->type() == ClipPathOperation::REFERENCE)

Powered by Google App Engine
This is Rietveld 408576698