| 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 61d4e729107f52ef81f00c76172421fe82ac03da..6df60d1ea3421c68ffe09c8cb0bcc5e4ce21f94e 100644
|
| --- a/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h
|
| +++ b/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h
|
| @@ -84,6 +84,14 @@ class SVGImageForContainer final : public Image {
|
| ImageClampingMode,
|
| const ColorBehavior&) override;
|
|
|
| + // FIXME: Implement this to be less conservative.
|
| + bool currentFrameKnownToBeOpaque(MetadataMode = UseCurrentMetadata) override {
|
| + return false;
|
| + }
|
| +
|
| + sk_sp<SkImage> imageForCurrentFrame(const ColorBehavior&) override;
|
| +
|
| + protected:
|
| void drawPattern(GraphicsContext&,
|
| const FloatRect&,
|
| const FloatSize&,
|
| @@ -92,13 +100,6 @@ class SVGImageForContainer final : public Image {
|
| const FloatRect&,
|
| const FloatSize& repeatSpacing) override;
|
|
|
| - // FIXME: Implement this to be less conservative.
|
| - bool currentFrameKnownToBeOpaque(MetadataMode = UseCurrentMetadata) override {
|
| - return false;
|
| - }
|
| -
|
| - sk_sp<SkImage> imageForCurrentFrame(const ColorBehavior&) override;
|
| -
|
| private:
|
| SVGImageForContainer(SVGImage* image,
|
| const FloatSize& containerSize,
|
|
|