| Index: cc/layers/surface_layer_impl.cc
|
| diff --git a/cc/layers/surface_layer_impl.cc b/cc/layers/surface_layer_impl.cc
|
| index c3df89b292bfc8a0bdaa138b083c03858bcc135d..966112d7f546c1147471fdaf4f68d93fe395cc80 100644
|
| --- a/cc/layers/surface_layer_impl.cc
|
| +++ b/cc/layers/surface_layer_impl.cc
|
| @@ -38,7 +38,6 @@ void SurfaceLayerImpl::PushPropertiesTo(LayerImpl* layer) {
|
| }
|
|
|
| void SurfaceLayerImpl::AppendQuads(RenderPass* render_pass,
|
| - const Occlusion& occlusion_in_content_space,
|
| AppendQuadsData* append_quads_data) {
|
| SharedQuadState* shared_quad_state =
|
| render_pass->CreateAndAppendSharedQuadState();
|
| @@ -52,7 +51,8 @@ void SurfaceLayerImpl::AppendQuads(RenderPass* render_pass,
|
|
|
| gfx::Rect quad_rect(content_bounds());
|
| gfx::Rect visible_quad_rect =
|
| - occlusion_in_content_space.GetUnoccludedContentRect(quad_rect);
|
| + draw_properties().occlusion_in_content_space.GetUnoccludedContentRect(
|
| + quad_rect);
|
| if (visible_quad_rect.IsEmpty())
|
| return;
|
| SurfaceDrawQuad* quad =
|
| @@ -66,7 +66,7 @@ void SurfaceLayerImpl::GetDebugBorderProperties(SkColor* color,
|
| *width = DebugColors::SurfaceLayerBorderWidth(layer_tree_impl());
|
| }
|
|
|
| -void SurfaceLayerImpl::AsValueInto(base::debug::TracedValue* dict) const {
|
| +void SurfaceLayerImpl::AsValueInto(base::trace_event::TracedValue* dict) const {
|
| LayerImpl::AsValueInto(dict);
|
| dict->SetInteger("surface_id", surface_id_.id);
|
| }
|
|
|