Index: Source/core/layout/svg/LayoutSVGRoot.cpp |
diff --git a/Source/core/layout/svg/LayoutSVGRoot.cpp b/Source/core/layout/svg/LayoutSVGRoot.cpp |
index d97ff75c66f57ca02c65b0676e3859b3fe9522cf..84b3ae110866e05620f186f6ad13f72291627c22 100644 |
--- a/Source/core/layout/svg/LayoutSVGRoot.cpp |
+++ b/Source/core/layout/svg/LayoutSVGRoot.cpp |
@@ -223,7 +223,7 @@ void LayoutSVGRoot::willBeDestroyed() |
LayoutReplaced::willBeDestroyed(); |
} |
-void LayoutSVGRoot::styleDidChange(StyleDifference diff, const LayoutStyle* oldStyle) |
+void LayoutSVGRoot::styleDidChange(StyleDifference diff, const ComputedStyle* oldStyle) |
{ |
if (diff.needsFullLayout()) |
setNeedsBoundariesUpdate(); |
@@ -236,7 +236,7 @@ void LayoutSVGRoot::styleDidChange(StyleDifference diff, const LayoutStyle* oldS |
SVGResourcesCache::clientStyleChanged(this, diff, styleRef()); |
} |
-bool LayoutSVGRoot::isChildAllowed(LayoutObject* child, const LayoutStyle&) const |
+bool LayoutSVGRoot::isChildAllowed(LayoutObject* child, const ComputedStyle&) const |
{ |
return child->isSVG() && !(child->isSVGInline() || child->isSVGInlineText() || child->isSVGGradientStop()); |
} |