| Index: Source/core/css/parser/CSSParser.cpp
|
| diff --git a/Source/core/css/parser/CSSParser.cpp b/Source/core/css/parser/CSSParser.cpp
|
| index 1ed4f6ff4b16226713cc35101729b79803ce6642..951189c2dcd11470716d877a3b050c08d609ee28 100644
|
| --- a/Source/core/css/parser/CSSParser.cpp
|
| +++ b/Source/core/css/parser/CSSParser.cpp
|
| @@ -56,7 +56,7 @@ bool CSSParser::parseValue(MutableStylePropertySet* declaration, CSSPropertyID u
|
| if (string.isEmpty())
|
| return false;
|
| CSSPropertyID resolvedProperty = resolveCSSPropertyID(unresolvedProperty);
|
| - RefPtrWillBeRawPtr<CSSValue> value = CSSParserFastPaths::maybeParseValue(resolvedProperty, string, parserMode);
|
| + RefPtr<CSSValue> value = CSSParserFastPaths::maybeParseValue(resolvedProperty, string, parserMode);
|
| if (value)
|
| return declaration->setProperty(CSSProperty(resolvedProperty, value.release(), important));
|
| CSSParserContext context(parserMode, 0);
|
| @@ -72,11 +72,11 @@ bool CSSParser::parseValue(MutableStylePropertySet* declaration, CSSPropertyID u
|
| return CSSParserImpl::parseValue(declaration, unresolvedProperty, string, important, context);
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<CSSValue> CSSParser::parseSingleValue(CSSPropertyID propertyID, const String& string, const CSSParserContext& context)
|
| +PassRefPtr<CSSValue> CSSParser::parseSingleValue(CSSPropertyID propertyID, const String& string, const CSSParserContext& context)
|
| {
|
| if (string.isEmpty())
|
| return nullptr;
|
| - if (RefPtrWillBeRawPtr<CSSValue> value = CSSParserFastPaths::maybeParseValue(propertyID, string, context.mode()))
|
| + if (RefPtr<CSSValue> value = CSSParserFastPaths::maybeParseValue(propertyID, string, context.mode()))
|
| return value;
|
| RefPtrWillBeRawPtr<MutableStylePropertySet> stylePropertySet = MutableStylePropertySet::create();
|
| bool changed = parseValue(stylePropertySet.get(), propertyID, string, false, context);
|
| @@ -120,7 +120,7 @@ bool CSSParser::parseColor(RGBA32& color, const String& string, bool strict)
|
| return true;
|
| }
|
|
|
| - RefPtrWillBeRawPtr<CSSValue> value = CSSParserFastPaths::parseColor(string, strict ? HTMLStandardMode : HTMLQuirksMode);
|
| + RefPtr<CSSValue> value = CSSParserFastPaths::parseColor(string, strict ? HTMLStandardMode : HTMLQuirksMode);
|
| // TODO(timloh): Why is this always strict mode?
|
| if (!value)
|
| value = parseSingleValue(CSSPropertyColor, string, strictCSSParserContext());
|
| @@ -149,7 +149,7 @@ bool CSSParser::parseSystemColor(RGBA32& color, const String& colorString)
|
| return true;
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<CSSValue> CSSParser::parseFontFaceDescriptor(CSSPropertyID propertyID, const String& propertyValue, const CSSParserContext& context)
|
| +PassRefPtr<CSSValue> CSSParser::parseFontFaceDescriptor(CSSPropertyID propertyID, const String& propertyValue, const CSSParserContext& context)
|
| {
|
| StringBuilder builder;
|
| builder.appendLiteral("@font-face { ");
|
|
|