| Index: Source/core/rendering/RenderLayerRepainter.cpp
|
| diff --git a/Source/core/rendering/RenderLayerRepainter.cpp b/Source/core/rendering/RenderLayerRepainter.cpp
|
| index e4289ae28c18db85b67abe5cb241c79bd29da17e..a1fa5652aec8f32003aa5485bb3c24d1541fc0b5 100644
|
| --- a/Source/core/rendering/RenderLayerRepainter.cpp
|
| +++ b/Source/core/rendering/RenderLayerRepainter.cpp
|
| @@ -125,12 +125,12 @@ void RenderLayerRepainter::setBackingNeedsRepaintInRect(const LayoutRect& r)
|
| return;
|
| }
|
| IntRect repaintRect = pixelSnappedIntRect(r);
|
| - // FIXME: generalize accessors to backing GraphicsLayers so that this code is squashing-agnostic.
|
| - if (m_renderer.groupedMapping()) {
|
| - if (GraphicsLayer* squashingLayer = m_renderer.groupedMapping()->squashingLayer())
|
| + // FIXME: generalize accessors to backing GraphicsLayers so that this code is squasphing-agnostic.
|
| + if (m_renderer.layer()->groupedMapping()) {
|
| + if (GraphicsLayer* squashingLayer = m_renderer.layer()->groupedMapping()->squashingLayer())
|
| squashingLayer->setNeedsDisplayInRect(repaintRect);
|
| } else {
|
| - m_renderer.compositedLayerMapping()->setContentsNeedDisplayInRect(repaintRect);
|
| + m_renderer.layer()->compositedLayerMapping()->setContentsNeedDisplayInRect(repaintRect);
|
| }
|
| }
|
|
|
|
|