| 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 23 matching lines...) Expand all Loading... |
| 34 #include "core/animation/ElementAnimations.h" | 34 #include "core/animation/ElementAnimations.h" |
| 35 #include "core/dom/Document.h" | 35 #include "core/dom/Document.h" |
| 36 #include "core/frame/FrameView.h" | 36 #include "core/frame/FrameView.h" |
| 37 #include "core/loader/DocumentLoader.h" | 37 #include "core/loader/DocumentLoader.h" |
| 38 #include "core/page/Page.h" | 38 #include "core/page/Page.h" |
| 39 #include "platform/RuntimeEnabledFeatures.h" | 39 #include "platform/RuntimeEnabledFeatures.h" |
| 40 #include "platform/TraceEvent.h" | 40 #include "platform/TraceEvent.h" |
| 41 #include "platform/animation/CompositorAnimationTimeline.h" | 41 #include "platform/animation/CompositorAnimationTimeline.h" |
| 42 #include "public/platform/Platform.h" | 42 #include "public/platform/Platform.h" |
| 43 #include "public/platform/WebCompositorSupport.h" | 43 #include "public/platform/WebCompositorSupport.h" |
| 44 #include "wtf/PtrUtil.h" | |
| 45 #include <algorithm> | 44 #include <algorithm> |
| 46 | 45 |
| 47 namespace blink { | 46 namespace blink { |
| 48 | 47 |
| 49 namespace { | 48 namespace { |
| 50 | 49 |
| 51 bool compareAnimations(const Member<Animation>& left, const Member<Animation>& r
ight) | 50 bool compareAnimations(const Member<Animation>& left, const Member<Animation>& r
ight) |
| 52 { | 51 { |
| 53 return Animation::hasLowerPriority(left.get(), right.get()); | 52 return Animation::hasLowerPriority(left.get(), right.get()); |
| 54 } | 53 } |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 | 348 |
| 350 DEFINE_TRACE(AnimationTimeline) | 349 DEFINE_TRACE(AnimationTimeline) |
| 351 { | 350 { |
| 352 visitor->trace(m_document); | 351 visitor->trace(m_document); |
| 353 visitor->trace(m_timing); | 352 visitor->trace(m_timing); |
| 354 visitor->trace(m_animationsNeedingUpdate); | 353 visitor->trace(m_animationsNeedingUpdate); |
| 355 visitor->trace(m_animations); | 354 visitor->trace(m_animations); |
| 356 } | 355 } |
| 357 | 356 |
| 358 } // namespace blink | 357 } // namespace blink |
| OLD | NEW |