| 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 efade97cdcc756d9e43b1f05cd192d78caafb2e6..26e21bf8c22628b65e32cf096d462d3a67b7739e 100644
|
| --- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
|
| +++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
|
| @@ -148,8 +148,13 @@ class CORE_EXPORT SVGImage final : public Image {
|
| const KURL&);
|
| sk_sp<SkImage> imageForCurrentFrameForContainer(const KURL&,
|
| const IntSize& containerSize);
|
| +
|
| + // Paints the current frame. If a PaintCanvas is passed, paints into that
|
| + // canvas and returns nullptr.
|
| + // Otherwise returns a pointer to the new PaintRecord.
|
| sk_sp<PaintRecord> paintRecordForCurrentFrame(const FloatRect& bounds,
|
| - const KURL&);
|
| + const KURL&,
|
| + PaintCanvas* = nullptr);
|
|
|
| void drawInternal(PaintCanvas*,
|
| const PaintFlags&,
|
|
|