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

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

Issue 1225553002: CSSValue Immediates: Make CSSPrimitiveValue a container (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cssvalue_patch_1
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 82c12a54ec7992580f9bd74fe26391da1e2b7c56..f07ebfa49fb7ebb3d4246db92c0444d670019948 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(CSSValue cssValue)
+ static PassRefPtrWillBeRawPtr<DefaultNonInterpolableValue> create(NullableCSSValue cssValue)
{
return adoptRefWillBeNoop(new DefaultNonInterpolableValue(cssValue));
}
- CSSValue cssValue() const { return m_cssValue; }
+ NullableCSSValue cssValue() const { return m_cssValue; }
DEFINE_INLINE_VIRTUAL_TRACE()
{
@@ -40,11 +40,11 @@ public:
DECLARE_NON_INTERPOLABLE_VALUE_TYPE();
private:
- DefaultNonInterpolableValue(CSSValue cssValue)
+ DefaultNonInterpolableValue(NullableCSSValue cssValue)
: m_cssValue(cssValue)
{ }
- CSSValue m_cssValue;
+ NullableCSSValue m_cssValue;
};
DEFINE_NON_INTERPOLABLE_VALUE_TYPE_CASTS(DefaultNonInterpolableValue);
« no previous file with comments | « Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl ('k') | Source/core/animation/CSSValueInterpolationType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698