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

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

Issue 19097005: Remove one SVG animated type special case from the bindings generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix the regressions 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
Index: Source/core/svg/SVGForeignObjectElement.cpp
diff --git a/Source/core/svg/SVGForeignObjectElement.cpp b/Source/core/svg/SVGForeignObjectElement.cpp
index a51d0efcda0fe71ec11c8a86fed07d618a76069e..ffeec99a2e45a7c654d4102537c45142c3f593b0 100644
--- a/Source/core/svg/SVGForeignObjectElement.cpp
+++ b/Source/core/svg/SVGForeignObjectElement.cpp
@@ -158,10 +158,10 @@ bool SVGForeignObjectElement::rendererIsNeeded(const NodeRenderingContext& conte
bool SVGForeignObjectElement::selfHasRelativeLengths() const
{
- return x().isRelative()
- || y().isRelative()
- || width().isRelative()
- || height().isRelative();
+ return xCurrentValue().isRelative()
+ || yCurrentValue().isRelative()
+ || widthCurrentValue().isRelative()
+ || heightCurrentValue().isRelative();
}
}

Powered by Google App Engine
This is Rietveld 408576698