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

Side by Side Diff: cc/trees/layer_tree_host.cc

Issue 2702433002: Clear renderer compositor trees if new page does not render in 4 seconds (Closed)
Patch Set: Removed a semicolon Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_host.h ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/trees/layer_tree_host.h" 5 #include "cc/trees/layer_tree_host.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 1251 matching lines...) Expand 10 before | Expand all | Expand 10 after
1262 1262
1263 LayerListReverseIterator<Layer> LayerTreeHost::rend() { 1263 LayerListReverseIterator<Layer> LayerTreeHost::rend() {
1264 return LayerListReverseIterator<Layer>(nullptr); 1264 return LayerListReverseIterator<Layer>(nullptr);
1265 } 1265 }
1266 1266
1267 void LayerTreeHost::SetNeedsDisplayOnAllLayers() { 1267 void LayerTreeHost::SetNeedsDisplayOnAllLayers() {
1268 for (auto* layer : *this) 1268 for (auto* layer : *this)
1269 layer->SetNeedsDisplay(); 1269 layer->SetNeedsDisplay();
1270 } 1270 }
1271 1271
1272 void LayerTreeHost::ResetTrees() {
1273 proxy_->ResetTrees();
1274 }
1275
1272 } // namespace cc 1276 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.h ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698