Index: cc/layers/solid_color_layer_impl.cc |
diff --git a/cc/layers/solid_color_layer_impl.cc b/cc/layers/solid_color_layer_impl.cc |
index b85012a045d76a7cf60d6aba148a92e8aa147c0a..76cd3fc4229c238db8a36434475a1c1176a2cc89 100644 |
--- a/cc/layers/solid_color_layer_impl.cc |
+++ b/cc/layers/solid_color_layer_impl.cc |
@@ -29,29 +29,29 @@ scoped_ptr<LayerImpl> SolidColorLayerImpl::CreateLayerImpl( |
void SolidColorLayerImpl::AppendSolidQuads( |
RenderPass* render_pass, |
- const Occlusion& occlusion_in_content_space, |
+ const Occlusion& occlusion_in_layer_space, |
SharedQuadState* shared_quad_state, |
- const gfx::Rect& visible_content_rect, |
+ const gfx::Rect& visible_layer_rect, |
SkColor color, |
AppendQuadsData* append_quads_data) { |
// We create a series of smaller quads instead of just one large one so that |
// the culler can reduce the total pixels drawn. |
- int right = visible_content_rect.right(); |
- int bottom = visible_content_rect.bottom(); |
- for (int x = visible_content_rect.x(); x < visible_content_rect.right(); |
+ int right = visible_layer_rect.right(); |
+ int bottom = visible_layer_rect.bottom(); |
+ for (int x = visible_layer_rect.x(); x < visible_layer_rect.right(); |
x += kSolidQuadTileSize) { |
- for (int y = visible_content_rect.y(); y < visible_content_rect.bottom(); |
+ for (int y = visible_layer_rect.y(); y < visible_layer_rect.bottom(); |
y += kSolidQuadTileSize) { |
gfx::Rect quad_rect(x, |
y, |
std::min(right - x, kSolidQuadTileSize), |
std::min(bottom - y, kSolidQuadTileSize)); |
gfx::Rect visible_quad_rect = |
- occlusion_in_content_space.GetUnoccludedContentRect(quad_rect); |
+ occlusion_in_layer_space.GetUnoccludedContentRect(quad_rect); |
if (visible_quad_rect.IsEmpty()) |
continue; |
- append_quads_data->visible_content_area += |
+ append_quads_data->visible_layer_area += |
visible_quad_rect.width() * visible_quad_rect.height(); |
SolidColorDrawQuad* quad = |