| Index: third_party/WebKit/Source/platform/animation/CompositorAnimationPlayer.cpp
|
| diff --git a/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayer.cpp b/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayer.cpp
|
| index 2d73c4776342ba224bd772133e0f9817b2f6aae6..0ecf8b9f98a3360be88cedef6db808244838ff55 100644
|
| --- a/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayer.cpp
|
| +++ b/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayer.cpp
|
| @@ -72,8 +72,8 @@ void CompositorAnimationPlayer::NotifyAnimationStarted(
|
| cc::Animation::TargetProperty targetProperty,
|
| int group)
|
| {
|
| - ASSERT(m_delegate);
|
| - m_delegate->notifyAnimationStarted((monotonicTime - base::TimeTicks()).InSecondsF(), group);
|
| + if (m_delegate)
|
| + m_delegate->notifyAnimationStarted((monotonicTime - base::TimeTicks()).InSecondsF(), group);
|
| }
|
|
|
| void CompositorAnimationPlayer::NotifyAnimationFinished(
|
| @@ -81,8 +81,8 @@ void CompositorAnimationPlayer::NotifyAnimationFinished(
|
| cc::Animation::TargetProperty targetProperty,
|
| int group)
|
| {
|
| - ASSERT(m_delegate);
|
| - m_delegate->notifyAnimationFinished((monotonicTime - base::TimeTicks()).InSecondsF(), group);
|
| + if (m_delegate)
|
| + m_delegate->notifyAnimationFinished((monotonicTime - base::TimeTicks()).InSecondsF(), group);
|
| }
|
|
|
| void CompositorAnimationPlayer::NotifyAnimationAborted(
|
| @@ -90,8 +90,8 @@ void CompositorAnimationPlayer::NotifyAnimationAborted(
|
| cc::Animation::TargetProperty targetProperty,
|
| int group)
|
| {
|
| - ASSERT(m_delegate);
|
| - m_delegate->notifyAnimationAborted((monotonicTime - base::TimeTicks()).InSecondsF(), group);
|
| + if (m_delegate)
|
| + m_delegate->notifyAnimationAborted((monotonicTime - base::TimeTicks()).InSecondsF(), group);
|
| }
|
|
|
| } // namespace blink
|
|
|