| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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/picture_layer_tiling_set.h" | 5 #include "cc/picture_layer_tiling_set.h" |
| 6 | 6 |
| 7 namespace cc { | 7 namespace cc { |
| 8 | 8 |
| 9 namespace { | 9 namespace { |
| 10 | 10 |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 tree, | 255 tree, |
| 256 device_viewport, | 256 device_viewport, |
| 257 layer_content_scale_x, | 257 layer_content_scale_x, |
| 258 layer_content_scale_y, | 258 layer_content_scale_y, |
| 259 last_screen_transform, | 259 last_screen_transform, |
| 260 current_screen_transform, | 260 current_screen_transform, |
| 261 time_delta); | 261 time_delta); |
| 262 } | 262 } |
| 263 } | 263 } |
| 264 | 264 |
| 265 void PictureLayerTilingSet::MoveTilePriorities(WhichTree src_tree, | 265 void PictureLayerTilingSet::DidBecomeActive() { |
| 266 WhichTree dst_tree) { | |
| 267 for (size_t i = 0; i < tilings_.size(); ++i) | 266 for (size_t i = 0; i < tilings_.size(); ++i) |
| 268 tilings_[i]->MoveTilePriorities(src_tree, dst_tree); | 267 tilings_[i]->DidBecomeActive(); |
| 269 } | 268 } |
| 270 | 269 |
| 271 } // namespace cc | 270 } // namespace cc |
| OLD | NEW |