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

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

Issue 190793011: Use isSVG*Element() helpers more in SVG code (Part 4) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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/SVGElement.cpp ('k') | Source/core/svg/SVGFilterPrimitiveStandardAttributes.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 d32d7e71bad487d55ecf6aa612135637a6c4a98e..58f7a8486dea3476d0c013e55ca99caf4fd8f324 100644
--- a/Source/core/svg/SVGFEImageElement.cpp
+++ b/Source/core/svg/SVGFEImageElement.cpp
@@ -177,7 +177,7 @@ void SVGFEImageElement::notifyFinished(Resource*)
Element* parent = parentElement();
ASSERT(parent);
- if (!parent->hasTagName(SVGNames::filterTag) || !parent->renderer())
+ if (!isSVGFilterElement(*parent) || !parent->renderer())
return;
if (RenderObject* renderer = this->renderer())
« no previous file with comments | « Source/core/svg/SVGElement.cpp ('k') | Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698