Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGTransformableContainer.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGTransformableContainer.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGTransformableContainer.cpp |
index 9c0fc9026a523480ade91fcc89568184faec94b6..f4729f3fc12bdd2dde7c896ca2f053035ba70253 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGTransformableContainer.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGTransformableContainer.cpp |
@@ -55,7 +55,8 @@ bool LayoutSVGTransformableContainer::isChildAllowed( |
return false; |
} else if (isSVGAElement(*element())) { |
// http://www.w3.org/2003/01/REC-SVG11-20030114-errata#linking-text-environment |
- // The 'a' element may contain any element that its parent may contain, except itself. |
+ // The 'a' element may contain any element that its parent may contain, |
+ // except itself. |
if (isSVGAElement(*child->node())) |
return false; |
if (parent() && parent()->isSVG()) |
@@ -73,9 +74,10 @@ SVGTransformChange LayoutSVGTransformableContainer::calculateLocalTransform() { |
SVGGraphicsElement* element = toSVGGraphicsElement(this->element()); |
ASSERT(element); |
- // If we're either the layoutObject for a <use> element, or for any <g> element inside the shadow |
- // tree, that was created during the use/symbol/svg expansion in SVGUseElement. These containers |
- // need to respect the translations induced by their corresponding use elements x/y attributes. |
+ // If we're either the layoutObject for a <use> element, or for any <g> |
+ // element inside the shadow tree, that was created during the use/symbol/svg |
+ // expansion in SVGUseElement. These containers need to respect the |
+ // translations induced by their corresponding use elements x/y attributes. |
SVGUseElement* useElement = nullptr; |
if (isSVGUseElement(*element)) { |
useElement = toSVGUseElement(element); |