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

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

Issue 1118133003: Rename rendering in core/svg. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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/SVGFilterPrimitiveStandardAttributes.cpp ('k') | Source/core/svg/SVGGElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGForeignObjectElement.cpp
diff --git a/Source/core/svg/SVGForeignObjectElement.cpp b/Source/core/svg/SVGForeignObjectElement.cpp
index 5181ab89732b0890701b978f6dfba9f05e3898d6..f5452484535e2a33a66df65b61d8cf074e14ae82 100644
--- a/Source/core/svg/SVGForeignObjectElement.cpp
+++ b/Source/core/svg/SVGForeignObjectElement.cpp
@@ -100,8 +100,8 @@ void SVGForeignObjectElement::svgAttributeChanged(const QualifiedName& attrName)
isWidthHeightAttribute ? StyleChangeReasonForTracing::create(StyleChangeReason::SVGContainerSizeChange) : StyleChangeReasonForTracing::fromAttribute(attrName));
updateRelativeLengthsInformation();
- if (LayoutObject* renderer = this->layoutObject())
- markForLayoutAndParentResourceInvalidation(renderer);
+ if (LayoutObject* layoutObject = this->layoutObject())
+ markForLayoutAndParentResourceInvalidation(layoutObject);
return;
}
@@ -116,7 +116,7 @@ LayoutObject* SVGForeignObjectElement::createLayoutObject(const ComputedStyle&)
bool SVGForeignObjectElement::layoutObjectIsNeeded(const ComputedStyle& style)
{
- // Suppress foreignObject renderers in SVG hidden containers.
+ // 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
« no previous file with comments | « Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp ('k') | Source/core/svg/SVGGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698