OLD | NEW |
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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 #if !ENABLE(OILPAN) | 239 #if !ENABLE(OILPAN) |
240 void AnimationTimeline::detachFromDocument() | 240 void AnimationTimeline::detachFromDocument() |
241 { | 241 { |
242 // FIXME: AnimationTimeline should keep Document alive. | 242 // FIXME: AnimationTimeline should keep Document alive. |
243 m_document = nullptr; | 243 m_document = nullptr; |
244 } | 244 } |
245 #endif | 245 #endif |
246 | 246 |
247 void AnimationTimeline::trace(Visitor* visitor) | 247 void AnimationTimeline::trace(Visitor* visitor) |
248 { | 248 { |
| 249 #if ENABLE(OILPAN) |
249 visitor->trace(m_document); | 250 visitor->trace(m_document); |
250 visitor->trace(m_timing); | 251 visitor->trace(m_timing); |
251 visitor->trace(m_playersNeedingUpdate); | 252 visitor->trace(m_playersNeedingUpdate); |
252 visitor->trace(m_players); | 253 visitor->trace(m_players); |
| 254 #endif |
253 } | 255 } |
254 | 256 |
255 } // namespace | 257 } // namespace |
OLD | NEW |