| Index: cc/test/mock_quad_culler.cc
|
| diff --git a/cc/test/mock_quad_culler.cc b/cc/test/mock_quad_culler.cc
|
| index 6a2baa4119ff67a35ef49fefa3eea7988dc007cc..d716fb5e09630135c5235a847650afec90d9a7e2 100644
|
| --- a/cc/test/mock_quad_culler.cc
|
| +++ b/cc/test/mock_quad_culler.cc
|
| @@ -9,24 +9,26 @@ namespace cc {
|
| MockQuadCuller::MockQuadCuller(
|
| RenderPass* render_pass,
|
| MockOcclusionTracker<LayerImpl>* occlusion_tracker)
|
| - : QuadSink(render_pass, NULL, occlusion_tracker),
|
| + : QuadSink(render_pass, occlusion_tracker),
|
| occlusion_tracker_(occlusion_tracker) {
|
| }
|
|
|
| MockQuadCuller::~MockQuadCuller() {}
|
|
|
| gfx::Rect MockQuadCuller::UnoccludedContentRect(
|
| + const LayerImpl* layer,
|
| const gfx::Rect& content_rect,
|
| const gfx::Transform& draw_transform) {
|
| return occlusion_tracker_->UnoccludedContentRect(
|
| - layer_, content_rect, draw_transform);
|
| + layer, content_rect, draw_transform);
|
| }
|
|
|
| gfx::Rect MockQuadCuller::UnoccludedContributingSurfaceContentRect(
|
| + const LayerImpl* layer,
|
| const gfx::Rect& content_rect,
|
| const gfx::Transform& draw_transform) {
|
| return occlusion_tracker_->UnoccludedContributingSurfaceContentRect(
|
| - layer_, content_rect, draw_transform);
|
| + layer, content_rect, draw_transform);
|
| }
|
|
|
| } // namespace cc
|
|
|