Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index 78373c769b6058d8bf647b1e8f5579ff81e33225..6b86eb63f1176d874a8dd851740493ed8108c85f 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()) { |