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

Unified Diff: third_party/WebKit/Source/core/animation/CSSInterpolationType.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, 9 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/animation/CSSInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
index 6d69c520f28a7506b868bbd4a5f2fc145651c037..94c67a5e09c3a8d7a6a82ccd479c047b7934b35d 100644
--- a/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
@@ -15,13 +15,13 @@ namespace blink {
class ResolvedVariableChecker : public InterpolationType::ConversionChecker {
public:
- static PassOwnPtr<ResolvedVariableChecker> create(CSSPropertyID property, PassRefPtrWillBeRawPtr<CSSVariableReferenceValue> variableReference, PassRefPtrWillBeRawPtr<CSSValue> resolvedValue)
+ static PassOwnPtr<ResolvedVariableChecker> create(CSSPropertyID property, RawPtr<CSSVariableReferenceValue> variableReference, RawPtr<CSSValue> resolvedValue)
{
return adoptPtr(new ResolvedVariableChecker(property, variableReference, resolvedValue));
}
private:
- ResolvedVariableChecker(CSSPropertyID property, PassRefPtrWillBeRawPtr<CSSVariableReferenceValue> variableReference, PassRefPtrWillBeRawPtr<CSSValue> resolvedValue)
+ ResolvedVariableChecker(CSSPropertyID property, RawPtr<CSSVariableReferenceValue> variableReference, RawPtr<CSSValue> resolvedValue)
: m_property(property)
, m_variableReference(variableReference)
, m_resolvedValue(resolvedValue)
@@ -30,18 +30,18 @@ private:
bool isValid(const InterpolationEnvironment& environment, const InterpolationValue& underlying) const final
{
// TODO(alancutter): Just check the variables referenced instead of doing a full CSSValue resolve.
- RefPtrWillBeRawPtr<CSSValue> resolvedValue = CSSVariableResolver::resolveVariableReferences(environment.state().style()->variables(), m_property, *m_variableReference);
+ RawPtr<CSSValue> resolvedValue = CSSVariableResolver::resolveVariableReferences(environment.state().style()->variables(), m_property, *m_variableReference);
return m_resolvedValue->equals(*resolvedValue);
}
CSSPropertyID m_property;
- RefPtrWillBePersistent<CSSVariableReferenceValue> m_variableReference;
- RefPtrWillBePersistent<CSSValue> m_resolvedValue;
+ Persistent<CSSVariableReferenceValue> m_variableReference;
+ Persistent<CSSValue> m_resolvedValue;
};
InterpolationValue CSSInterpolationType::maybeConvertSingle(const PropertySpecificKeyframe& keyframe, const InterpolationEnvironment& environment, const InterpolationValue& underlying, ConversionCheckers& conversionCheckers) const
{
- RefPtrWillBeRawPtr<CSSValue> resolvedCSSValueOwner;
+ RawPtr<CSSValue> resolvedCSSValueOwner;
const CSSValue* value = toCSSPropertySpecificKeyframe(keyframe).value();
if (!value)

Powered by Google App Engine
This is Rietveld 408576698