| Index: cc/tiled_layer_impl.cc
|
| diff --git a/cc/tiled_layer_impl.cc b/cc/tiled_layer_impl.cc
|
| index 0f90a365727b65add3c0316b17dabc620d028d52..09b4b9f5299b85c1d95a199bf12d94af36da53ad 100644
|
| --- a/cc/tiled_layer_impl.cc
|
| +++ b/cc/tiled_layer_impl.cc
|
| @@ -166,8 +166,7 @@ void TiledLayerImpl::appendQuads(QuadSink& quadSink, AppendQuadsData& appendQuad
|
| continue;
|
| }
|
|
|
| - gfx::Rect tileOpaqueRect = tile->opaqueRect();
|
| - tileOpaqueRect.Intersect(contentRect);
|
| + gfx::Rect tileOpaqueRect = contentsOpaque() ? tileRect : gfx::IntersectRects(tile->opaqueRect(), contentRect);
|
|
|
| // Keep track of how the top left has moved, so the texture can be
|
| // offset the same amount.
|
|
|