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

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableUnknown.h

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/animatable/AnimatableUnknown.h
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableUnknown.h b/third_party/WebKit/Source/core/animation/animatable/AnimatableUnknown.h
index b08353c93ac0ee2ead1ac55885a3ef33cd2454fc..2fe8014b7a2474ab6f89d6c115cdec36ec1c0c35 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableUnknown.h
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableUnknown.h
@@ -41,7 +41,7 @@ class AnimatableUnknown final : public AnimatableValue {
public:
~AnimatableUnknown() override { }
- static PassRefPtr<AnimatableUnknown> create(PassRefPtrWillBeRawPtr<CSSValue> value)
+ static PassRefPtr<AnimatableUnknown> create(RawPtr<CSSValue> value)
{
return adoptRef(new AnimatableUnknown(value));
}
@@ -50,7 +50,7 @@ public:
return adoptRef(new AnimatableUnknown(cssValuePool().createIdentifierValue(value)));
}
- PassRefPtrWillBeRawPtr<CSSValue> toCSSValue() const { return m_value; }
+ RawPtr<CSSValue> toCSSValue() const { return m_value; }
CSSValueID toCSSValueID() const { return toCSSPrimitiveValue(m_value.get())->getValueID(); }
protected:
@@ -62,7 +62,7 @@ protected:
bool usesDefaultInterpolationWith(const AnimatableValue*) const override { return true; }
private:
- explicit AnimatableUnknown(PassRefPtrWillBeRawPtr<CSSValue> value)
+ explicit AnimatableUnknown(RawPtr<CSSValue> value)
: m_value(value)
{
ASSERT(m_value);
@@ -70,7 +70,7 @@ private:
AnimatableType type() const override { return TypeUnknown; }
bool equalTo(const AnimatableValue*) const override;
- const RefPtrWillBePersistent<CSSValue> m_value;
+ const Persistent<CSSValue> m_value;
};
DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableUnknown, isUnknown());

Powered by Google App Engine
This is Rietveld 408576698