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

Side by Side Diff: Source/core/animation/DefaultSVGInterpolation.h

Issue 1276183004: Oilpan: Unship oilpan from temporary animation objects (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DefaultSVGInterpolation_h 5 #ifndef DefaultSVGInterpolation_h
6 #define DefaultSVGInterpolation_h 6 #define DefaultSVGInterpolation_h
7 7
8 #include "core/animation/SVGInterpolation.h" 8 #include "core/animation/SVGInterpolation.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class DefaultSVGInterpolation : public SVGInterpolation { 12 class DefaultSVGInterpolation : public SVGInterpolation {
13 public: 13 public:
14 static PassRefPtrWillBeRawPtr<DefaultSVGInterpolation> create(SVGPropertyBas e* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute) 14 static PassRefPtr<DefaultSVGInterpolation> create(SVGPropertyBase* start, SV GPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute)
15 { 15 {
16 return adoptRefWillBeNoop(new DefaultSVGInterpolation(start, end, attrib ute)); 16 return adoptRef(new DefaultSVGInterpolation(start, end, attribute));
17 } 17 }
18 18
19 PassRefPtrWillBeRawPtr<SVGPropertyBase> interpolatedValue(SVGElement&) const final; 19 PassRefPtrWillBeRawPtr<SVGPropertyBase> interpolatedValue(SVGElement&) const final;
20 20
21 DECLARE_VIRTUAL_TRACE();
22
23 private: 21 private:
24 DefaultSVGInterpolation(SVGPropertyBase* start, SVGPropertyBase* end, PassRe fPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute); 22 DefaultSVGInterpolation(SVGPropertyBase* start, SVGPropertyBase* end, PassRe fPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute);
25 23
26 RefPtrWillBeMember<SVGPropertyBase> m_start; 24 RefPtrWillBePersistent<SVGPropertyBase> m_start;
27 RefPtrWillBeMember<SVGPropertyBase> m_end; 25 RefPtrWillBePersistent<SVGPropertyBase> m_end;
28 }; 26 };
29 27
30 } 28 }
31 29
32 #endif // DefaultSVGInterpolation_h 30 #endif // DefaultSVGInterpolation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698