| Index: Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| diff --git a/Source/core/rendering/compositing/CompositedLayerMapping.cpp b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| index 44a485b1893ff5b85fe5d9474fd63d164acc3e25..e09ec3f10a86928e5c1057744dd2f50f9ca6c066 100644
|
| --- a/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| +++ b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| @@ -1935,10 +1935,8 @@ void CompositedLayerMapping::setContentsNeedDisplayInRect(const LayoutRect& r)
|
| const GraphicsLayerPaintInfo* CompositedLayerMapping::containingSquashedLayer(const RenderObject* renderObject, const Vector<GraphicsLayerPaintInfo>& layers)
|
| {
|
| for (size_t i = 0; i < layers.size(); ++i) {
|
| - if (renderObject->isDescendantOf(layers[i].renderLayer->renderer())) {
|
| + if (renderObject->isDescendantOf(layers[i].renderLayer->renderer()))
|
| return &layers[i];
|
| - break;
|
| - }
|
| }
|
| return 0;
|
| }
|
|
|