OLD | NEW |
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 Loading... |
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 |
OLD | NEW |