| Index: cc/layers/render_surface_impl.cc
|
| diff --git a/cc/layers/render_surface_impl.cc b/cc/layers/render_surface_impl.cc
|
| index 600206faa081522f815ead7ae6d41d0e912123d6..493adf9f70b539cf4a3d6d11e283219220f4b8e4 100644
|
| --- a/cc/layers/render_surface_impl.cc
|
| +++ b/cc/layers/render_surface_impl.cc
|
| @@ -50,6 +50,11 @@ gfx::RectF RenderSurfaceImpl::DrawableContentRect() const {
|
| drawable_content_rect.Union(MathUtil::MapClippedRect(
|
| replica_draw_transform_, gfx::RectF(content_rect_)));
|
| }
|
| + if (!owning_layer_->filters().IsEmpty()) {
|
| + int left, top, right, bottom;
|
| + owning_layer_->filters().GetOutsets(&top, &right, &bottom, &left);
|
| + drawable_content_rect.Inset(-left, -top, -right, -bottom);
|
| + }
|
|
|
| // If the rect has a NaN coordinate, we return empty rect to avoid crashes in
|
| // functions (for example, gfx::ToEnclosedRect) that are called on this rect.
|
|
|