Index: Source/core/paint/InlinePainter.cpp |
diff --git a/Source/core/paint/InlinePainter.cpp b/Source/core/paint/InlinePainter.cpp |
index 43173e4faac24a61dc3f6f33f3ff2c5d5562cacc..dfa0ace6e0521c820a7b26708f879ea83af8a88c 100644 |
--- a/Source/core/paint/InlinePainter.cpp |
+++ b/Source/core/paint/InlinePainter.cpp |
@@ -27,7 +27,7 @@ void InlinePainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintOf |
void InlinePainter::paintOutline(const PaintInfo& paintInfo, const LayoutPoint& paintOffset) |
{ |
- RenderStyle* styleToUse = m_renderInline.style(); |
+ const RenderStyle* styleToUse = m_renderInline.style(); |
if (!styleToUse->hasOutline()) |
return; |
@@ -83,7 +83,7 @@ void InlinePainter::paintOutline(const PaintInfo& paintInfo, const LayoutPoint& |
void InlinePainter::paintOutlineForLine(GraphicsContext* graphicsContext, const LayoutPoint& paintOffset, |
const LayoutRect& lastline, const LayoutRect& thisline, const LayoutRect& nextline, const Color outlineColor) |
{ |
- RenderStyle* styleToUse = m_renderInline.style(); |
+ const RenderStyle* styleToUse = m_renderInline.style(); |
int outlineWidth = styleToUse->outlineWidth(); |
EBorderStyle outlineStyle = styleToUse->outlineStyle(); |