| Index: third_party/WebKit/Source/core/html/HTMLImageElement.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLImageElement.h b/third_party/WebKit/Source/core/html/HTMLImageElement.h
|
| index 1bc5c0cd1c677c4b104b4df99b2b9fc23ca74200..118d5d2c7dfcd3712b835ab31564095c04c8b482 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLImageElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLImageElement.h
|
| @@ -75,8 +75,11 @@ class CORE_EXPORT HTMLImageElement final : public HTMLElement,
|
|
|
| String altText() const final;
|
|
|
| - ImageResource* cachedImage() const { return imageLoader().image(); }
|
| - void setImageResource(ImageResource* i) { imageLoader().setImage(i); }
|
| + ImageResourceContent* cachedImage() const { return imageLoader().image(); }
|
| + ImageResource* cachedImageResourceForImageDocument() const {
|
| + return imageLoader().imageResourceForImageDocument();
|
| + }
|
| + void setImageResource(ImageResourceContent* i) { imageLoader().setImage(i); }
|
|
|
| void setLoadingImageDocument() { imageLoader().setLoadingImageDocument(); }
|
|
|
|
|