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

Unified Diff: Source/core/rendering/svg/RenderSVGImage.h

Issue 713263002: Use the viewBox when scaling <svg:image>s non-uniformly w/ pAR=none (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 6 years, 1 month 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/rendering/svg/RenderSVGImage.h
diff --git a/Source/core/rendering/svg/RenderSVGImage.h b/Source/core/rendering/svg/RenderSVGImage.h
index 2ac9b79b6c1fbb0ee1f85a52fbb2612ebb0865ec..7d0fc90fb3eaa87479e2d7ad903f719c5a16b923 100644
--- a/Source/core/rendering/svg/RenderSVGImage.h
+++ b/Source/core/rendering/svg/RenderSVGImage.h
@@ -63,7 +63,7 @@ private:
virtual void layout() override;
virtual void paint(PaintInfo&, const LayoutPoint&) override;
- bool forceNonUniformScaling(SVGImageElement*) const;
+ LayoutSize computeNonUniformScalingViewportSize() const;
virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoint& pointInParent, HitTestAction) override;

Powered by Google App Engine
This is Rietveld 408576698