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

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

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/KeyframeEffectModel.h ('k') | Source/core/clipboard/Clipboard.h » ('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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 bool m_dependsOnUnderlyingValue; 87 bool m_dependsOnUnderlyingValue;
88 }; 88 };
89 89
90 const double accuracyForKeyframeEasing = 0.0000001; 90 const double accuracyForKeyframeEasing = 0.0000001;
91 91
92 } // namespace 92 } // namespace
93 93
94 94
95 namespace WebCore { 95 namespace WebCore {
96 96
97 DEFINE_GC_INFO(Keyframe);
98 DEFINE_GC_INFO(AnimationEffect);
99
100 Keyframe::Keyframe() 97 Keyframe::Keyframe()
101 : m_offset(nullValue()) 98 : m_offset(nullValue())
102 , m_composite(AnimationEffect::CompositeReplace) 99 , m_composite(AnimationEffect::CompositeReplace)
103 { } 100 { }
104 101
105 Keyframe::Keyframe(const Keyframe& copyFrom) 102 Keyframe::Keyframe(const Keyframe& copyFrom)
106 : m_offset(copyFrom.m_offset) 103 : m_offset(copyFrom.m_offset)
107 , m_composite(copyFrom.m_composite) 104 , m_composite(copyFrom.m_composite)
108 , m_easing(copyFrom.m_easing) 105 , m_easing(copyFrom.m_easing)
109 { 106 {
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 fraction = timingFunction->evaluate(fraction, accuracyForKeyframeEasing) ; 388 fraction = timingFunction->evaluate(fraction, accuracyForKeyframeEasing) ;
392 return BlendedCompositableValue::create((*before)->value(), (*after)->value( ), fraction); 389 return BlendedCompositableValue::create((*before)->value(), (*after)->value( ), fraction);
393 } 390 }
394 391
395 void KeyframeEffectModel::trace(Visitor* visitor) 392 void KeyframeEffectModel::trace(Visitor* visitor)
396 { 393 {
397 visitor->trace(m_keyframes); 394 visitor->trace(m_keyframes);
398 } 395 }
399 396
400 } // namespace 397 } // namespace
OLDNEW
« no previous file with comments | « Source/core/animation/KeyframeEffectModel.h ('k') | Source/core/clipboard/Clipboard.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698