| Index: third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp
|
| diff --git a/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp b/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp
|
| index 4856ea9a7b64a2f7ab29bd38061a59a3bf829471..4157507c9d2c7aa4695cc92b09c74ab4a28b7a76 100644
|
| --- a/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp
|
| +++ b/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp
|
| @@ -77,14 +77,14 @@ void WebLayerTreeViewImplForTesting::clearRootLayer()
|
|
|
| void WebLayerTreeViewImplForTesting::attachCompositorAnimationTimeline(cc::AnimationTimeline* compositorTimeline)
|
| {
|
| - ASSERT(m_layerTreeHost->animation_host());
|
| - m_layerTreeHost->animation_host()->AddAnimationTimeline(compositorTimeline);
|
| + DCHECK(m_layerTreeHost->GetLayerTree()->animation_host());
|
| + m_layerTreeHost->GetLayerTree()->animation_host()->AddAnimationTimeline(compositorTimeline);
|
| }
|
|
|
| void WebLayerTreeViewImplForTesting::detachCompositorAnimationTimeline(cc::AnimationTimeline* compositorTimeline)
|
| {
|
| - ASSERT(m_layerTreeHost->animation_host());
|
| - m_layerTreeHost->animation_host()->RemoveAnimationTimeline(compositorTimeline);
|
| + DCHECK(m_layerTreeHost->GetLayerTree()->animation_host());
|
| + m_layerTreeHost->GetLayerTree()->animation_host()->RemoveAnimationTimeline(compositorTimeline);
|
| }
|
|
|
| void WebLayerTreeViewImplForTesting::setViewportSize(const WebSize& unusedDeprecated, const WebSize& deviceViewportSize)
|
|
|