| Index: sky/engine/core/rendering/RenderObject.cpp
|
| diff --git a/sky/engine/core/rendering/RenderObject.cpp b/sky/engine/core/rendering/RenderObject.cpp
|
| index b95a7f86e735f8797436d7897290a8a31efd3f7b..38009d6ad5ffb3015af9c00dfcfb322c7ef908ae 100644
|
| --- a/sky/engine/core/rendering/RenderObject.cpp
|
| +++ b/sky/engine/core/rendering/RenderObject.cpp
|
| @@ -1301,22 +1301,6 @@ void RenderObject::styleDidChange(StyleDifference diff, const RenderStyle* oldSt
|
| }
|
| }
|
|
|
| -void RenderObject::propagateStyleToAnonymousChildren(bool blockChildrenOnly)
|
| -{
|
| - // FIXME: We could save this call when the change only affected non-inherited properties.
|
| - for (RenderObject* child = slowFirstChild(); child; child = child->nextSibling()) {
|
| - if (!child->isAnonymous())
|
| - continue;
|
| -
|
| - if (blockChildrenOnly && !child->isRenderBlock())
|
| - continue;
|
| -
|
| - RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(style(), child->style()->display());
|
| - updateAnonymousChildStyle(child, newStyle.get());
|
| - child->setStyle(newStyle.release());
|
| - }
|
| -}
|
| -
|
| void RenderObject::updateFillImages(const FillLayer* oldLayers, const FillLayer& newLayers)
|
| {
|
| // Optimize the common case
|
|
|