| Index: cc/layers/layer_impl.cc
|
| diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc
|
| index 13e788e579d69b3aa5aeddb94024046e65e50491..5655596d0eb4e79c5ea4b95c4789c2fcb9fd7c78 100644
|
| --- a/cc/layers/layer_impl.cc
|
| +++ b/cc/layers/layer_impl.cc
|
| @@ -352,6 +352,8 @@ void LayerImpl::AppendDebugBorderQuad(RenderPass* render_pass,
|
| float fill_width = width * 3;
|
| gfx::Rect fill_rect = quad_rect;
|
| fill_rect.Inset(fill_width / 2.f, fill_width / 2.f);
|
| + if (fill_rect.IsEmpty())
|
| + return;
|
| gfx::Rect visible_fill_rect =
|
| gfx::IntersectRects(visible_quad_rect, fill_rect);
|
| DebugBorderDrawQuad* fill_quad =
|
|
|