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

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

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/SVGFEFloodElement.cpp ('k') | Source/core/svg/SVGFELightElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFEImageElement.cpp
diff --git a/Source/core/svg/SVGFEImageElement.cpp b/Source/core/svg/SVGFEImageElement.cpp
index 64de3d177e45f8084884db6b50333a9e8ebfe4db..8ac4d4c9e475942b331f6fc47d771377fd7921d1 100644
--- a/Source/core/svg/SVGFEImageElement.cpp
+++ b/Source/core/svg/SVGFEImageElement.cpp
@@ -171,17 +171,17 @@ void SVGFEImageElement::notifyFinished(Resource*)
return;
Element* parent = parentElement();
- if (!parent || !isSVGFilterElement(parent) || !parent->renderer())
+ if (!parent || !isSVGFilterElement(parent) || !parent->layoutObject())
return;
- if (LayoutObject* renderer = this->renderer())
+ if (LayoutObject* renderer = this->layoutObject())
markForLayoutAndParentResourceInvalidation(renderer);
}
PassRefPtrWillBeRawPtr<FilterEffect> SVGFEImageElement::build(SVGFilterBuilder*, Filter* filter)
{
if (m_cachedImage)
- return FEImage::createWithImage(filter, m_cachedImage->imageForRenderer(renderer()), m_preserveAspectRatio->currentValue());
+ return FEImage::createWithImage(filter, m_cachedImage->imageForRenderer(layoutObject()), m_preserveAspectRatio->currentValue());
return FEImage::createWithIRIReference(filter, treeScope(), hrefString(), m_preserveAspectRatio->currentValue());
}
« no previous file with comments | « Source/core/svg/SVGFEFloodElement.cpp ('k') | Source/core/svg/SVGFELightElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698