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

Unified Diff: Source/core/svg/SVGGElement.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/svg/SVGGElement.h ('k') | Source/core/svg/SVGGraphicsElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGGElement.cpp
diff --git a/Source/core/svg/SVGGElement.cpp b/Source/core/svg/SVGGElement.cpp
index ed56de6d021214f4ec284cae1b85390a94f83da9..a4fb2219a7284e86867ea4164e9e1dff2041de0e 100644
--- a/Source/core/svg/SVGGElement.cpp
+++ b/Source/core/svg/SVGGElement.cpp
@@ -34,7 +34,7 @@ inline SVGGElement::SVGGElement(Document& document, ConstructionType constructio
DEFINE_NODE_FACTORY(SVGGElement)
-LayoutObject* SVGGElement::createLayoutObject(const LayoutStyle& style)
+LayoutObject* SVGGElement::createLayoutObject(const ComputedStyle& style)
{
// SVG 1.1 testsuite explicitely uses constructs like <g display="none"><linearGradient>
// We still have to create renderers for the <g> & <linearGradient> element, though the
@@ -46,7 +46,7 @@ LayoutObject* SVGGElement::createLayoutObject(const LayoutStyle& style)
return new LayoutSVGTransformableContainer(this);
}
-bool SVGGElement::layoutObjectIsNeeded(const LayoutStyle&)
+bool SVGGElement::layoutObjectIsNeeded(const ComputedStyle&)
{
// Unlike SVGElement::layoutObjectIsNeeded(), we still create renderers, even if
// display is set to 'none' - which is special to SVG <g> container elements.
« no previous file with comments | « Source/core/svg/SVGGElement.h ('k') | Source/core/svg/SVGGraphicsElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698