| Index: cc/trees/layer_tree_host_impl.cc
|
| diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
|
| index 6d8aaa614416f7b54b4c6a1c3fb1b7ee04d38a5d..a5e8967089562cba311b7c35e15272fa81cbddf5 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -3503,9 +3503,9 @@ void LayerTreeHostImpl::ActivateAnimations() {
|
|
|
| std::string LayerTreeHostImpl::LayerTreeAsJson() const {
|
| std::string str;
|
| - if (active_tree_->root_layer()) {
|
| + if (active_tree_->root_layer_for_testing()) {
|
| std::unique_ptr<base::Value> json(
|
| - active_tree_->root_layer()->LayerTreeAsJson());
|
| + active_tree_->root_layer_for_testing()->LayerTreeAsJson());
|
| base::JSONWriter::WriteWithOptions(
|
| *json, base::JSONWriter::OPTIONS_PRETTY_PRINT, &str);
|
| }
|
|
|