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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h

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/svg/graphics/SVGImageForContainer.h
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h b/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h
index 5f1b91c2a0cd3c69c38a90720caa979bfbe09566..e8f4432ae5f05c43467c5dbf27c7044836d06db7 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h
@@ -37,7 +37,7 @@ namespace blink {
class SVGImageForContainer final : public Image {
USING_FAST_MALLOC(SVGImageForContainer);
public:
- static PassRefPtr<SVGImageForContainer> create(SVGImage* image, const IntSize& containerSize, float zoom, const KURL& url)
+ static PassRefPtr<SVGImageForContainer> create(SVGImage* image, const LayoutSize& containerSize, float zoom, const KURL& url)
{
FloatSize containerSizeWithoutZoom(containerSize);
containerSizeWithoutZoom.scale(1 / zoom);

Powered by Google App Engine
This is Rietveld 408576698