Index: Source/core/rendering/RenderInline.cpp |
diff --git a/Source/core/rendering/RenderInline.cpp b/Source/core/rendering/RenderInline.cpp |
index 4cfbffd965010dd8b14c3651a55b8f98fe8f7714..8e5b66fc954304ae54f39de7c3721e2bdb0ed834 100644 |
--- a/Source/core/rendering/RenderInline.cpp |
+++ b/Source/core/rendering/RenderInline.cpp |
@@ -196,7 +196,7 @@ void RenderInline::styleDidChange(StyleDifference diff, const LayoutStyle* oldSt |
for (RenderInline* currCont = continuation; currCont; currCont = currCont->inlineElementContinuation()) { |
RenderBoxModelObject* nextCont = currCont->continuation(); |
currCont->setContinuation(0); |
- currCont->setStyle(style()); |
+ currCont->setStyle(mutableStyle()); |
currCont->setContinuation(nextCont); |
} |
@@ -359,7 +359,7 @@ void RenderInline::addChildIgnoringContinuation(LayoutObject* newChild, LayoutOb |
RenderInline* RenderInline::clone() const |
{ |
RenderInline* cloneInline = new RenderInline(node()); |
- cloneInline->setStyle(style()); |
+ cloneInline->setStyle(mutableStyle()); |
cloneInline->setFlowThreadState(flowThreadState()); |
return cloneInline; |
} |