Index: third_party/WebKit/Source/core/style/StyleFetchedImage.h |
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImage.h b/third_party/WebKit/Source/core/style/StyleFetchedImage.h |
index 63ca01e09e3aef1a20827776649f5ea25823ec5f..07bb8bbbb7bf2d8454fd0be6d6e3b32819845266 100644 |
--- a/third_party/WebKit/Source/core/style/StyleFetchedImage.h |
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImage.h |
@@ -31,14 +31,13 @@ |
namespace blink { |
class Document; |
-class ImageResource; |
class StyleFetchedImage final : public StyleImage, |
public ImageResourceObserver { |
USING_PRE_FINALIZER(StyleFetchedImage, dispose); |
public: |
- static StyleFetchedImage* create(ImageResource* image, |
+ static StyleFetchedImage* create(ImageResourceContent* image, |
const Document& document, |
const KURL& url) { |
return new StyleFetchedImage(image, document, url); |
@@ -60,22 +59,22 @@ class StyleFetchedImage final : public StyleImage, |
bool usesImageContainerSize() const override; |
void addClient(LayoutObject*) override; |
void removeClient(LayoutObject*) override; |
- void imageNotifyFinished(ImageResource*) override; |
+ void imageNotifyFinished(ImageResourceContent*) override; |
String debugName() const override { return "StyleFetchedImage"; } |
PassRefPtr<Image> image(const LayoutObject&, |
const IntSize&, |
float zoom) const override; |
bool knownToBeOpaque(const LayoutObject&) const override; |
- ImageResource* cachedImage() const override; |
+ ImageResourceContent* cachedImage() const override; |
DECLARE_VIRTUAL_TRACE(); |
private: |
- StyleFetchedImage(ImageResource*, const Document&, const KURL&); |
+ StyleFetchedImage(ImageResourceContent*, const Document&, const KURL&); |
void dispose(); |
- Member<ImageResource> m_image; |
+ Member<ImageResourceContent> m_image; |
Member<const Document> m_document; |
const KURL m_url; |
}; |