Index: cc/resources/picture_layer_tiling.h |
diff --git a/cc/resources/picture_layer_tiling.h b/cc/resources/picture_layer_tiling.h |
index 35bbf94a297847aa6122f1d870bccb603ae092bb..df0bceda3b675cdd0a54a07f36e85b470459bc8d 100644 |
--- a/cc/resources/picture_layer_tiling.h |
+++ b/cc/resources/picture_layer_tiling.h |
@@ -17,6 +17,7 @@ |
#include "cc/base/tiling_data.h" |
#include "cc/resources/tile.h" |
#include "cc/resources/tile_priority.h" |
+#include "cc/trees/occlusion_checker.h" |
#include "ui/gfx/rect.h" |
namespace base { |
@@ -27,8 +28,6 @@ class TracedValue; |
namespace cc { |
-template <typename LayerType> |
-class OcclusionTracker; |
class PictureLayerTiling; |
class PicturePileImpl; |
@@ -242,9 +241,7 @@ class CC_EXPORT PictureLayerTiling { |
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); |
+ const OcclusionChecker<LayerImpl>& occlusion_checker_in_layer_space); |
// 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 |