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

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

Issue 1477433004: Use LayoutUnit for SVG container size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: 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 fec17f72e67ea3e15047f5894ccbece6e66dd19b..40ec184c82bf83d01c8abc997dd794c467d5ac48 100644
--- a/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp
@@ -52,7 +52,7 @@ void SVGImagePainter::paint(const PaintInfo& paintInfo)
void SVGImagePainter::paintForeground(const PaintInfo& paintInfo)
{
const LayoutImageResource* imageResource = m_layoutSVGImage.imageResource();
- IntSize imageViewportSize = expandedIntSize(computeImageViewportSize());
+ LayoutSize imageViewportSize(computeImageViewportSize());
if (imageViewportSize.isEmpty())
return;

Powered by Google App Engine
This is Rietveld 408576698