Index: third_party/WebKit/Source/core/paint/SVGImagePainter.h |
diff --git a/third_party/WebKit/Source/core/paint/SVGImagePainter.h b/third_party/WebKit/Source/core/paint/SVGImagePainter.h |
index 3a2eeb46ac01f126ff895f479b9e35c0efef8f74..f0a4e7258f2dd7c8751577a91c2778cfeaeaef0b 100644 |
--- a/third_party/WebKit/Source/core/paint/SVGImagePainter.h |
+++ b/third_party/WebKit/Source/core/paint/SVGImagePainter.h |
@@ -5,6 +5,7 @@ |
#ifndef SVGImagePainter_h |
#define SVGImagePainter_h |
+#include "platform/geometry/FloatSize.h" |
#include "wtf/Allocator.h" |
namespace blink { |
@@ -21,7 +22,8 @@ public: |
private: |
// Assumes the PaintInfo context has had all local transforms applied. |
- void paintForeground(const PaintInfo&); |
+ void paintForeground(const PaintInfo&, const FloatSize& imageViewportSize); |
+ FloatSize computeImageViewportSize() const; |
const LayoutSVGImage& m_layoutSVGImage; |
}; |