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

Unified Diff: Source/core/animation/CSSValueInterpolationType.h

Issue 1164573002: CSSValue Immediates: Change CSSValue to an object instead of a pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 5 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: Source/core/animation/CSSValueInterpolationType.h
diff --git a/Source/core/animation/CSSValueInterpolationType.h b/Source/core/animation/CSSValueInterpolationType.h
index 77e6edf1a7775d6a81a662c784065b3de15c4d3e..82c12a54ec7992580f9bd74fe26391da1e2b7c56 100644
--- a/Source/core/animation/CSSValueInterpolationType.h
+++ b/Source/core/animation/CSSValueInterpolationType.h
@@ -24,12 +24,12 @@ public:
class DefaultNonInterpolableValue : public NonInterpolableValue {
public:
virtual ~DefaultNonInterpolableValue() { }
- static PassRefPtrWillBeRawPtr<DefaultNonInterpolableValue> create(PassRefPtrWillBeRawPtr<CSSValue> cssValue)
+ static PassRefPtrWillBeRawPtr<DefaultNonInterpolableValue> create(CSSValue cssValue)
{
return adoptRefWillBeNoop(new DefaultNonInterpolableValue(cssValue));
}
- CSSValue* cssValue() const { return m_cssValue.get(); }
+ CSSValue cssValue() const { return m_cssValue; }
DEFINE_INLINE_VIRTUAL_TRACE()
{
@@ -40,11 +40,11 @@ public:
DECLARE_NON_INTERPOLABLE_VALUE_TYPE();
private:
- DefaultNonInterpolableValue(PassRefPtrWillBeRawPtr<CSSValue> cssValue)
+ DefaultNonInterpolableValue(CSSValue cssValue)
: m_cssValue(cssValue)
{ }
- RefPtrWillBeMember<CSSValue> m_cssValue;
+ CSSValue m_cssValue;
};
DEFINE_NON_INTERPOLABLE_VALUE_TYPE_CASTS(DefaultNonInterpolableValue);
« no previous file with comments | « Source/core/animation/AnimationInputHelpers.cpp ('k') | Source/core/animation/CSSValueInterpolationType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698