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

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

Issue 1318543009: Oilpan: Partially ship Oilpan for core/animations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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
« no previous file with comments | « Source/core/animation/InterpolationEffectTest.cpp ('k') | Source/core/animation/KeyframeEffect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/KeyframeEffect.h
diff --git a/Source/core/animation/KeyframeEffect.h b/Source/core/animation/KeyframeEffect.h
index f3662588620641730f23ea8db23c36f93f932623..ec93db5f13544126c07b18c54826df5e32d20147 100644
--- a/Source/core/animation/KeyframeEffect.h
+++ b/Source/core/animation/KeyframeEffect.h
@@ -53,11 +53,11 @@ class CORE_EXPORT KeyframeEffect final : public AnimationEffect {
public:
enum Priority { DefaultPriority, TransitionPriority };
- static PassRefPtrWillBeRawPtr<KeyframeEffect> create(Element*, PassRefPtrWillBeRawPtr<EffectModel>, const Timing&, Priority = DefaultPriority, PassOwnPtrWillBeRawPtr<EventDelegate> = nullptr);
+ static KeyframeEffect* create(Element*, EffectModel*, const Timing&, Priority = DefaultPriority, EventDelegate* = nullptr);
// Web Animations API Bindings constructors.
- static PassRefPtrWillBeRawPtr<KeyframeEffect> create(Element*, const Vector<Dictionary>& keyframeDictionaryVector, double duration, ExceptionState&);
- static PassRefPtrWillBeRawPtr<KeyframeEffect> create(Element*, const Vector<Dictionary>& keyframeDictionaryVector, const KeyframeEffectOptions& timingInput, ExceptionState&);
- static PassRefPtrWillBeRawPtr<KeyframeEffect> create(Element*, const Vector<Dictionary>& keyframeDictionaryVector, ExceptionState&);
+ static KeyframeEffect* create(Element*, const Vector<Dictionary>& keyframeDictionaryVector, double duration, ExceptionState&);
+ static KeyframeEffect* create(Element*, const Vector<Dictionary>& keyframeDictionaryVector, const KeyframeEffectOptions& timingInput, ExceptionState&);
+ static KeyframeEffect* create(Element*, const Vector<Dictionary>& keyframeDictionaryVector, ExceptionState&);
~KeyframeEffect() override;
@@ -66,7 +66,7 @@ public:
bool affects(PropertyHandle) const;
const EffectModel* model() const { return m_model.get(); }
EffectModel* model() { return m_model.get(); }
- void setModel(PassRefPtrWillBeRawPtr<EffectModel> model) { m_model = model; }
+ void setModel(EffectModel* model) { m_model = model; }
Priority priority() const { return m_priority; }
Element* target() const { return m_target; }
@@ -105,11 +105,11 @@ protected:
bool hasMultipleTransformProperties() const;
private:
- KeyframeEffect(Element*, PassRefPtrWillBeRawPtr<EffectModel>, const Timing&, Priority, PassOwnPtrWillBeRawPtr<EventDelegate>);
+ KeyframeEffect(Element*, EffectModel*, const Timing&, Priority, EventDelegate*);
RawPtrWillBeMember<Element> m_target;
- RefPtrWillBeMember<EffectModel> m_model;
- RawPtrWillBeMember<SampledEffect> m_sampledEffect;
+ Member<EffectModel> m_model;
+ Member<SampledEffect> m_sampledEffect;
Priority m_priority;
« no previous file with comments | « Source/core/animation/InterpolationEffectTest.cpp ('k') | Source/core/animation/KeyframeEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698