Chromium Code Reviews| Index: Source/core/animation/InterpolableValue.h |
| diff --git a/Source/core/animation/InterpolableValue.h b/Source/core/animation/InterpolableValue.h |
| index 61cc73ad7ac50b76207c6270e022a82eab24b026..12a0bd442e4f04f2adde883a07be1f51590b44d1 100644 |
| --- a/Source/core/animation/InterpolableValue.h |
| +++ b/Source/core/animation/InterpolableValue.h |
| @@ -5,15 +5,17 @@ |
| #ifndef InterpolableValue_h |
| #define InterpolableValue_h |
| +#include "core/CoreExport.h" |
| #include "core/animation/animatable/AnimatableValue.h" |
| #include "platform/heap/Handle.h" |
| +#include "wtf/Noncopyable.h" |
|
tasak
2015/04/15 06:08:15
No need to include wtf/Noncopyable.h.
|
| #include "wtf/OwnPtr.h" |
| #include "wtf/PassOwnPtr.h" |
| #include "wtf/Vector.h" |
| namespace blink { |
| -class InterpolableValue : public NoBaseWillBeGarbageCollected<InterpolableValue> { |
| +class CORE_EXPORT InterpolableValue : public NoBaseWillBeGarbageCollected<InterpolableValue> { |
| DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(InterpolableValue); |
| public: |
| virtual bool isNumber() const { return false; } |
| @@ -42,7 +44,7 @@ private: |
| friend class AnimationInterpolableValueTest; |
| }; |
| -class InterpolableNumber final : public InterpolableValue { |
| +class CORE_EXPORT InterpolableNumber final : public InterpolableValue { |
| public: |
| static PassOwnPtrWillBeRawPtr<InterpolableNumber> create(double value) |
| { |
| @@ -66,7 +68,7 @@ private: |
| }; |
| -class InterpolableBool final : public InterpolableValue { |
| +class CORE_EXPORT InterpolableBool final : public InterpolableValue { |
| public: |
| static PassOwnPtrWillBeRawPtr<InterpolableBool> create(bool value) |
| { |
| @@ -90,8 +92,10 @@ private: |
| }; |
| -class InterpolableList : public InterpolableValue { |
| +class CORE_EXPORT InterpolableList : public InterpolableValue { |
| public: |
| + InterpolableList& operator=(const InterpolableList&) = delete; |
|
tasak
2015/04/15 06:08:15
We cannot use MAKE_WTF_NONCOPYABLE because Interpo
|
| + |
| static PassOwnPtrWillBeRawPtr<InterpolableList> create(const InterpolableList &other) |
| { |
| return adoptPtrWillBeNoop(new InterpolableList(other)); |