Index: Source/core/paint/LayerPainter.cpp |
diff --git a/Source/core/paint/LayerPainter.cpp b/Source/core/paint/LayerPainter.cpp |
index 38bf624c96f81fca19329e2126c1ff1890e35109..65263320197706bf60abd5898a930d5745f20c5d 100644 |
--- a/Source/core/paint/LayerPainter.cpp |
+++ b/Source/core/paint/LayerPainter.cpp |
@@ -106,7 +106,7 @@ public: |
const LayoutPoint& offsetFromRoot, PaintLayerFlags paintFlags) |
: m_resourceClipper(0), m_clipStateSaver(*context, false), m_renderLayer(renderLayer), m_context(context) |
{ |
- RenderStyle* style = renderLayer.renderer()->style(); |
+ const RenderStyle* style = renderLayer.renderer()->style(); |
// Clip-path, like border radius, must not be applied to the contents of a composited-scrolling container. |
// It must, however, still be applied to the mask layer, so that the compositor can properly mask the |