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

Unified Diff: third_party/WebKit/Source/core/paint/SVGImagePainter.cpp

Issue 2392443009: reflow comments in core/paint (Closed)
Patch Set: Created 4 years, 2 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: third_party/WebKit/Source/core/paint/SVGImagePainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp b/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp
index 9fa2e91df149896ab6476ec3769b336beae1a50a..39dc7a0175937fbc4dbff0020371585502d98236 100644
--- a/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp
@@ -95,11 +95,11 @@ FloatSize SVGImagePainter::computeImageViewportSize() const {
ImageResource* cachedImage = m_layoutSVGImage.imageResource()->cachedImage();
- // Images with preserveAspectRatio=none should force non-uniform scaling. This can be achieved
- // by setting the image's container size to its viewport size (i.e. concrete object size
- // returned by the default sizing algorithm.) See
- // https://www.w3.org/TR/SVG/single-page.html#coords-PreserveAspectRatioAttribute and
- // https://drafts.csswg.org/css-images-3/#default-sizing.
+ // Images with preserveAspectRatio=none should force non-uniform scaling. This
+ // can be achieved by setting the image's container size to its viewport size
+ // (i.e. concrete object size returned by the default sizing algorithm.) See
+ // https://www.w3.org/TR/SVG/single-page.html#coords-PreserveAspectRatioAttribute
+ // and https://drafts.csswg.org/css-images-3/#default-sizing.
// Avoid returning the size of the broken image.
if (cachedImage->errorOccurred())

Powered by Google App Engine
This is Rietveld 408576698