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

Unified Diff: third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/resolver/CSSVariableResolver.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp b/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
index ec3acf69db58bdd8cee5c2ddf59c8019e92de81f..3dd5aeab75f9283acb06d12686435160ccea3a34 100644
--- a/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
@@ -108,7 +108,7 @@ void CSSVariableResolver::resolveVariableReferencesFromTokens(CSSParserTokenRang
return;
}
-PassRefPtrWillBeRawPtr<CSSValue> CSSVariableResolver::resolveVariableReferences(StyleVariableData* styleVariableData, CSSPropertyID id, const CSSVariableReferenceValue& value)
+RawPtr<CSSValue> CSSVariableResolver::resolveVariableReferences(StyleVariableData* styleVariableData, CSSPropertyID id, const CSSVariableReferenceValue& value)
{
ASSERT(!isShorthandProperty(id));
@@ -121,7 +121,7 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSVariableResolver::resolveVariableReferences(
return cssValuePool().createUnsetValue();
CSSParserContext context(HTMLStandardMode, nullptr);
- WillBeHeapVector<CSSProperty, 256> parsedProperties;
+ HeapVector<CSSProperty, 256> parsedProperties;
// TODO(timloh): This should be CSSParser::parseSingleValue and not need a vector.
if (!CSSPropertyParser::parseValue(id, false, CSSParserTokenRange(tokens), context, parsedProperties, StyleRule::Type::Style))
return cssValuePool().createUnsetValue();
@@ -142,7 +142,7 @@ void CSSVariableResolver::resolveAndApplyVariableReferences(StyleResolverState&
if (resolutionContext.success) {
CSSParserContext context(HTMLStandardMode, 0);
- WillBeHeapVector<CSSProperty, 256> parsedProperties;
+ HeapVector<CSSProperty, 256> parsedProperties;
if (CSSPropertyParser::parseValue(id, false, CSSParserTokenRange(tokens), context, parsedProperties, StyleRule::Type::Style)) {
unsigned parsedPropertiesCount = parsedProperties.size();
@@ -152,7 +152,7 @@ void CSSVariableResolver::resolveAndApplyVariableReferences(StyleResolverState&
}
}
- RefPtrWillBeRawPtr<CSSUnsetValue> unset = cssValuePool().createUnsetValue();
+ RawPtr<CSSUnsetValue> unset = cssValuePool().createUnsetValue();
if (isShorthandProperty(id)) {
StylePropertyShorthand shorthand = shorthandForProperty(id);
for (unsigned i = 0; i < shorthand.length(); i++)

Powered by Google App Engine
This is Rietveld 408576698