diff options
Diffstat (limited to 'cc/trees/layer_tree_host.cc')
-rw-r--r-- | cc/trees/layer_tree_host.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc index 78373c7..6b86eb6 100644 --- a/cc/trees/layer_tree_host.cc +++ b/cc/trees/layer_tree_host.cc @@ -166,7 +166,7 @@ LayerTreeHost::~LayerTreeHost() { BreakSwapPromises(SwapPromise::COMMIT_FAILS); - overhang_ui_resource_.reset(); + overhang_ui_resource_ = nullptr; if (root_layer_.get()) root_layer_->SetLayerTreeHost(NULL); @@ -366,7 +366,7 @@ void LayerTreeHost::FinishCommitOnImplThread(LayerTreeHostImpl* host_impl) { pending_page_scale_animation_->use_anchor, pending_page_scale_animation_->scale, pending_page_scale_animation_->duration); - pending_page_scale_animation_.reset(); + pending_page_scale_animation_ = nullptr; } if (!ui_resource_request_queue_.empty()) { |