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

Unified Diff: third_party/WebKit/Source/core/svg/SVGForeignObjectElement.cpp

Issue 2390773004: reflow comments in core/svg/ (Closed)
Patch Set: comments (heh!) 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/svg/SVGForeignObjectElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGForeignObjectElement.cpp b/third_party/WebKit/Source/core/svg/SVGForeignObjectElement.cpp
index 1a411249b1e5dbbe15d7f943f6f1229ca9d9f739..16d5897f8770deffe63bfd70ab681ed321d5b035 100644
--- a/third_party/WebKit/Source/core/svg/SVGForeignObjectElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGForeignObjectElement.cpp
@@ -138,9 +138,9 @@ LayoutObject* SVGForeignObjectElement::createLayoutObject(
bool SVGForeignObjectElement::layoutObjectIsNeeded(const ComputedStyle& style) {
// Suppress foreignObject layoutObjects in SVG hidden containers.
// (https://bugs.webkit.org/show_bug.cgi?id=87297)
- // Note that we currently do not support foreignObject instantiation via <use>, hence it is safe
- // to use parentElement() here. If that changes, this method should be updated to use
- // parentOrShadowHostElement() instead.
+ // Note that we currently do not support foreignObject instantiation via
+ // <use>, hence it is safe to use parentElement() here. If that changes, this
+ // method should be updated to use parentOrShadowHostElement() instead.
Element* ancestor = parentElement();
while (ancestor && ancestor->isSVGElement()) {
if (ancestor->layoutObject() &&

Powered by Google App Engine
This is Rietveld 408576698