Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1078)

Unified Diff: Source/core/layout/svg/LayoutSVGModelObject.cpp

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/svg/LayoutSVGModelObject.h ('k') | Source/core/layout/svg/LayoutSVGPath.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGModelObject.cpp
diff --git a/Source/core/layout/svg/LayoutSVGModelObject.cpp b/Source/core/layout/svg/LayoutSVGModelObject.cpp
index 35360f488d83edcb94f361d10fa39c68cf80b6e0..0b865ca7a6977f0f12077e42d109875778a22362 100644
--- a/Source/core/layout/svg/LayoutSVGModelObject.cpp
+++ b/Source/core/layout/svg/LayoutSVGModelObject.cpp
@@ -46,7 +46,7 @@ LayoutSVGModelObject::LayoutSVGModelObject(SVGElement* node)
{
}
-bool LayoutSVGModelObject::isChildAllowed(LayoutObject* child, const LayoutStyle&) const
+bool LayoutSVGModelObject::isChildAllowed(LayoutObject* child, const ComputedStyle&) const
{
return child->isSVG() && !(child->isSVGInline() || child->isSVGInlineText() || child->isSVGGradientStop());
}
@@ -95,7 +95,7 @@ void LayoutSVGModelObject::addLayerHitTestRects(LayerHitTestRects&, const Deprec
// We don't walk into SVG trees at all - just report their container.
}
-void LayoutSVGModelObject::styleDidChange(StyleDifference diff, const LayoutStyle* oldStyle)
+void LayoutSVGModelObject::styleDidChange(StyleDifference diff, const ComputedStyle* oldStyle)
{
if (diff.needsFullLayout()) {
setNeedsBoundariesUpdate();
« no previous file with comments | « Source/core/layout/svg/LayoutSVGModelObject.h ('k') | Source/core/layout/svg/LayoutSVGPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698