| 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 22 matching lines...) Expand all Loading... |
| 33 #include "core/animation/AnimationTimeline.h" | 33 #include "core/animation/AnimationTimeline.h" |
| 34 #include "core/animation/CompositorPendingAnimations.h" | 34 #include "core/animation/CompositorPendingAnimations.h" |
| 35 #include "core/animation/KeyframeEffectReadOnly.h" | 35 #include "core/animation/KeyframeEffectReadOnly.h" |
| 36 #include "core/animation/css/CSSAnimations.h" | 36 #include "core/animation/css/CSSAnimations.h" |
| 37 #include "core/dom/Document.h" | 37 #include "core/dom/Document.h" |
| 38 #include "core/dom/ExceptionCode.h" | 38 #include "core/dom/ExceptionCode.h" |
| 39 #include "core/dom/StyleChangeReason.h" | 39 #include "core/dom/StyleChangeReason.h" |
| 40 #include "core/dom/TaskRunnerHelper.h" | 40 #include "core/dom/TaskRunnerHelper.h" |
| 41 #include "core/events/AnimationPlaybackEvent.h" | 41 #include "core/events/AnimationPlaybackEvent.h" |
| 42 #include "core/frame/UseCounter.h" | 42 #include "core/frame/UseCounter.h" |
| 43 #include "core/inspector/InspectorInstrumentation.h" | |
| 44 #include "core/inspector/InspectorTraceEvents.h" | 43 #include "core/inspector/InspectorTraceEvents.h" |
| 44 #include "core/probe/CoreProbes.h" |
| 45 #include "platform/RuntimeEnabledFeatures.h" | 45 #include "platform/RuntimeEnabledFeatures.h" |
| 46 #include "platform/WebTaskRunner.h" | 46 #include "platform/WebTaskRunner.h" |
| 47 #include "platform/animation/CompositorAnimationPlayer.h" | 47 #include "platform/animation/CompositorAnimationPlayer.h" |
| 48 #include "platform/heap/Persistent.h" | 48 #include "platform/heap/Persistent.h" |
| 49 #include "platform/instrumentation/tracing/TraceEvent.h" | 49 #include "platform/instrumentation/tracing/TraceEvent.h" |
| 50 #include "public/platform/Platform.h" | 50 #include "public/platform/Platform.h" |
| 51 #include "public/platform/WebCompositorSupport.h" | 51 #include "public/platform/WebCompositorSupport.h" |
| 52 #include "wtf/MathExtras.h" | 52 #include "wtf/MathExtras.h" |
| 53 #include "wtf/PtrUtil.h" | 53 #include "wtf/PtrUtil.h" |
| 54 | 54 |
| (...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1149 DCHECK(!m_compositorPlayer); | 1149 DCHECK(!m_compositorPlayer); |
| 1150 } | 1150 } |
| 1151 | 1151 |
| 1152 void Animation::CompositorAnimationPlayerHolder::detach() { | 1152 void Animation::CompositorAnimationPlayerHolder::detach() { |
| 1153 DCHECK(m_compositorPlayer); | 1153 DCHECK(m_compositorPlayer); |
| 1154 m_compositorPlayer->setAnimationDelegate(nullptr); | 1154 m_compositorPlayer->setAnimationDelegate(nullptr); |
| 1155 m_animation = nullptr; | 1155 m_animation = nullptr; |
| 1156 m_compositorPlayer.reset(); | 1156 m_compositorPlayer.reset(); |
| 1157 } | 1157 } |
| 1158 } // namespace blink | 1158 } // namespace blink |
| OLD | NEW |