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

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

Issue 464823003: [svg] getScreenCTM reporting incorrect transformation matrix. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 4 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 | « LayoutTests/fast/svg/getScreenCTM.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGSVGElement.cpp
diff --git a/Source/core/svg/SVGSVGElement.cpp b/Source/core/svg/SVGSVGElement.cpp
index a56c0b781cfe845bd3865db8ead36c7b79f0a1aa..0c76482c2c1b39106e310f1680fc9a22abc9ae02 100644
--- a/Source/core/svg/SVGSVGElement.cpp
+++ b/Source/core/svg/SVGSVGElement.cpp
@@ -630,12 +630,6 @@ FloatRect SVGSVGElement::currentViewBoxRect() const
FloatSize SVGSVGElement::currentViewportSize() const
{
- if (hasIntrinsicWidth() && hasIntrinsicHeight()) {
- Length intrinsicWidth = this->intrinsicWidth();
- Length intrinsicHeight = this->intrinsicHeight();
- return FloatSize(floatValueForLength(intrinsicWidth, 0), floatValueForLength(intrinsicHeight, 0));
- }
-
if (!renderer())
return FloatSize();
« no previous file with comments | « LayoutTests/fast/svg/getScreenCTM.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698