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

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

Issue 169293002: Oilpan: Remove GC_INFO_{DEFINE,DECLARE} macros (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixheaptest Created 6 years, 10 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
« no previous file with comments | « Source/core/animation/AnimationEffect.h ('k') | Source/core/animation/KeyframeEffectModel.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "wtf/Vector.h" 43 #include "wtf/Vector.h"
44 44
45 namespace WebCore { 45 namespace WebCore {
46 46
47 typedef HashSet<CSSPropertyID> PropertySet; 47 typedef HashSet<CSSPropertyID> PropertySet;
48 48
49 class KeyframeEffectModelTest; 49 class KeyframeEffectModelTest;
50 50
51 // Represents the keyframes set through the API. 51 // Represents the keyframes set through the API.
52 class Keyframe : public RefCountedWillBeGarbageCollectedFinalized<Keyframe> { 52 class Keyframe : public RefCountedWillBeGarbageCollectedFinalized<Keyframe> {
53 DECLARE_GC_INFO;
54 public: 53 public:
55 static PassRefPtrWillBeRawPtr<Keyframe> create() 54 static PassRefPtrWillBeRawPtr<Keyframe> create()
56 { 55 {
57 return adoptRefWillBeNoop(new Keyframe); 56 return adoptRefWillBeNoop(new Keyframe);
58 } 57 }
59 static bool compareOffsets(const RefPtrWillBeRawPtr<Keyframe>& a, const RefP trWillBeRawPtr<Keyframe>& b) 58 static bool compareOffsets(const RefPtrWillBeRawPtr<Keyframe>& a, const RefP trWillBeRawPtr<Keyframe>& b)
60 { 59 {
61 return a->offset() < b->offset(); 60 return a->offset() < b->offset();
62 } 61 }
63 void setOffset(double offset) { m_offset = offset; } 62 void setOffset(double offset) { m_offset = offset; }
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 mutable OwnPtr<KeyframeGroupMap> m_keyframeGroups; 162 mutable OwnPtr<KeyframeGroupMap> m_keyframeGroups;
164 163
165 friend class KeyframeEffectModelTest; 164 friend class KeyframeEffectModelTest;
166 }; 165 };
167 166
168 DEFINE_TYPE_CASTS(KeyframeEffectModel, AnimationEffect, value, value->isKeyframe EffectModel(), value.isKeyframeEffectModel()); 167 DEFINE_TYPE_CASTS(KeyframeEffectModel, AnimationEffect, value, value->isKeyframe EffectModel(), value.isKeyframeEffectModel());
169 168
170 } // namespace WebCore 169 } // namespace WebCore
171 170
172 #endif // KeyframeEffectModel_h 171 #endif // KeyframeEffectModel_h
OLDNEW
« no previous file with comments | « Source/core/animation/AnimationEffect.h ('k') | Source/core/animation/KeyframeEffectModel.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698