Index: third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp |
diff --git a/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp |
index f9359994090209a2ccb411fdeee4995e4d15494e..2155956773a108cbe78f45329a7654badd409472 100644 |
--- a/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp |
@@ -456,7 +456,7 @@ void CSSPropertyParser::addFillValue(RefPtrWillBeRawPtr<CSSValue>& lval, PassRef |
static bool parseBackgroundClip(CSSParserValue* parserValue, RefPtrWillBeRawPtr<CSSValue>& cssValue) |
{ |
if (parserValue->id == CSSValueBorderBox || parserValue->id == CSSValuePaddingBox |
- || parserValue->id == CSSValueContentBox || parserValue->id == CSSValueWebkitText) { |
+ || parserValue->id == CSSValueContentBox) { |
cssValue = cssValuePool().createIdentifierValue(parserValue->id); |
return true; |
} |
@@ -1149,19 +1149,14 @@ bool CSSPropertyParser::parseFillProperty(CSSPropertyID propId, CSSPropertyID& p |
if (val->id == CSSValueBorder || val->id == CSSValuePadding || val->id == CSSValueContent |
|| val->id == CSSValueBorderBox || val->id == CSSValuePaddingBox || val->id == CSSValueContentBox |
|| ((propId == CSSPropertyWebkitBackgroundClip || propId == CSSPropertyWebkitMaskClip) |
- && (val->id == CSSValueText || val->id == CSSValueWebkitText))) { |
- if (val->id == CSSValueWebkitText && m_context.useCounter()) |
- m_context.useCounter()->count(UseCounter::WebkitTextInClipProperty); |
+ && val->id == CSSValueText)) { |
currValue = cssValuePool().createIdentifierValue(val->id); |
m_valueList->next(); |
} |
break; |
case CSSPropertyBackgroundClip: |
- if (parseBackgroundClip(val, currValue)) { |
- if (val->id == CSSValueWebkitText && m_context.useCounter()) |
- m_context.useCounter()->count(UseCounter::WebkitTextInClipProperty); |
+ if (parseBackgroundClip(val, currValue)) |
m_valueList->next(); |
- } |
break; |
case CSSPropertyBackgroundOrigin: |
if (val->id == CSSValueBorderBox || val->id == CSSValuePaddingBox || val->id == CSSValueContentBox) { |