| Index: third_party/WebKit/Source/core/svg/graphics/SVGImage.h
|
| diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
|
| index 2b6fc9d7781f9148982c6a1170c7524f59b49487..9a4ceac83a1f13cce3916086d2729b676fb31544 100644
|
| --- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
|
| +++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
|
| @@ -79,6 +79,8 @@ class CORE_EXPORT SVGImage final : public Image {
|
| SVGImageChromeClient& chromeClientForTesting();
|
|
|
| sk_sp<SkImage> imageForCurrentFrame() override;
|
| + static FloatPoint offsetForCurrentFrame(const FloatRect& dstRect,
|
| + const FloatRect& srcRect);
|
|
|
| // Does the SVG image/document contain any animations?
|
| bool hasAnimations() const;
|
| @@ -145,8 +147,7 @@ class CORE_EXPORT SVGImage final : public Image {
|
| const KURL&);
|
| sk_sp<SkImage> imageForCurrentFrameForContainer(const KURL&,
|
| const IntSize& containerSize);
|
| - sk_sp<PaintRecord> paintRecordForCurrentFrame(const FloatRect& srcRect,
|
| - const FloatRect& dstRect,
|
| + sk_sp<PaintRecord> paintRecordForCurrentFrame(const FloatRect& bounds,
|
| const KURL&);
|
|
|
| void drawInternal(PaintCanvas*,
|
|
|