Index: cc/resources/picture_layer_tiling.h |
diff --git a/cc/resources/picture_layer_tiling.h b/cc/resources/picture_layer_tiling.h |
index e3fffeefd5e4fac0e2d0b5b0ef608d543db8a676..35bbf94a297847aa6122f1d870bccb603ae092bb 100644 |
--- a/cc/resources/picture_layer_tiling.h |
+++ b/cc/resources/picture_layer_tiling.h |
@@ -17,7 +17,6 @@ |
#include "cc/base/tiling_data.h" |
#include "cc/resources/tile.h" |
#include "cc/resources/tile_priority.h" |
-#include "cc/trees/occlusion.h" |
#include "ui/gfx/rect.h" |
namespace base { |
@@ -28,6 +27,8 @@ |
namespace cc { |
+template <typename LayerType> |
+class OcclusionTracker; |
class PictureLayerTiling; |
class PicturePileImpl; |
@@ -236,11 +237,14 @@ |
void Reset(); |
- void UpdateTilePriorities(WhichTree tree, |
- const gfx::Rect& visible_layer_rect, |
- float ideal_contents_scale, |
- double current_frame_time_in_seconds, |
- const Occlusion& occlusion_in_layer_space); |
+ void UpdateTilePriorities( |
+ WhichTree tree, |
+ const gfx::Rect& visible_layer_rect, |
+ float ideal_contents_scale, |
+ double current_frame_time_in_seconds, |
+ const OcclusionTracker<LayerImpl>* occlusion_tracker, |
+ const LayerImpl* render_target, |
+ const gfx::Transform& draw_transform); |
// Copies the src_tree priority into the dst_tree priority for all tiles. |
// The src_tree priority is reset to the lowest priority possible. This |