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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGTransformableContainer.cpp

Issue 2400783002: Reformat comments in core/layout/svg (Closed)
Patch Set: Created 4 years, 2 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
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);

Powered by Google App Engine
This is Rietveld 408576698