| Index: third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
|
| diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
|
| index 65d9995604ff6a5c574138c234170411d862dae1..8af3323c3d3970b2ce52d6cf5e148a3aba3f2960 100644
|
| --- a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
|
| +++ b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
|
| @@ -34,6 +34,7 @@
|
| namespace blink {
|
|
|
| class CSSImageSetValue;
|
| +class ImageResourceObserver;
|
|
|
| // This class keeps one cached image and has access to a set of alternatives.
|
|
|
| @@ -66,10 +67,12 @@ class StyleFetchedImageSet final : public StyleImage,
|
| const LayoutSize& default_object_size) const override;
|
| bool ImageHasRelativeSize() const override;
|
| bool UsesImageContainerSize() const override;
|
| - void AddClient(LayoutObject*) override;
|
| - void RemoveClient(LayoutObject*) override;
|
| - PassRefPtr<Image> GetImage(const LayoutObject&,
|
| - const IntSize&) const override;
|
| + void AddClient(ImageResourceObserver*) override;
|
| + void RemoveClient(ImageResourceObserver*) override;
|
| + PassRefPtr<Image> GetImage(const ImageResourceObserver&,
|
| + const Document&,
|
| + const ComputedStyle&,
|
| + const IntSize& container_size) const override;
|
| float ImageScaleFactor() const override { return image_scale_factor_; }
|
| bool KnownToBeOpaque(const Document&, const ComputedStyle&) const override;
|
| ImageResourceContent* CachedImage() const override;
|
|
|