Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(451)

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 2027803003: cc: Destroy pending_tree_duration_timer_ when reseting trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5e64334ae33d27aa01160d3881ea96409ea0a8ef..687a206996e7eb45ad8642432b592dbc44d03481 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -1225,6 +1225,7 @@ void LayerTreeHostImpl::ResetTreesForTesting() {
if (pending_tree_)
pending_tree_->ClearLayers();
pending_tree_ = nullptr;
+ pending_tree_duration_timer_ = nullptr;
if (recycle_tree_)
recycle_tree_->ClearLayers();
recycle_tree_ = nullptr;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698