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

Unified Diff: Source/core/svg/graphics/filters/SVGFEImage.cpp

Issue 21042009: [SVG2] Merge SVGStyledElement into SVGElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 5 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/SVGViewElement.cpp ('k') | Source/core/svg/properties/SVGAnimatedPropertyMacros.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/graphics/filters/SVGFEImage.cpp
diff --git a/Source/core/svg/graphics/filters/SVGFEImage.cpp b/Source/core/svg/graphics/filters/SVGFEImage.cpp
index c99c51d76ffe1e543936678baa4d2dfcd873d383..c7d753edff56321f466dc96a4f280b13fb6c79fb 100644
--- a/Source/core/svg/graphics/filters/SVGFEImage.cpp
+++ b/Source/core/svg/graphics/filters/SVGFEImage.cpp
@@ -33,8 +33,8 @@
#include "core/rendering/RenderObject.h"
#include "core/rendering/RenderTreeAsText.h"
#include "core/rendering/svg/SVGRenderingContext.h"
+#include "core/svg/SVGElement.h"
#include "core/svg/SVGPreserveAspectRatio.h"
-#include "core/svg/SVGStyledElement.h"
#include "core/svg/SVGURIReference.h"
namespace WebCore {
@@ -120,7 +120,7 @@ void FEImage::applySoftware()
if (renderer) {
SVGElement* contextNode = toSVGElement(renderer->node());
- if (contextNode->isSVGStyledElement() && toSVGStyledElement(contextNode)->hasRelativeLengths()) {
+ if (contextNode->hasRelativeLengths()) {
SVGLengthContext lengthContext(contextNode);
float width = 0;
float height = 0;
« no previous file with comments | « Source/core/svg/SVGViewElement.cpp ('k') | Source/core/svg/properties/SVGAnimatedPropertyMacros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698