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 884a8b3e3bc289e59ad35537221e44199c9d17df..5ac97dd2b6a983757648e174fb519bb1b4178c6b 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLImageElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLImageElement.h |
@@ -77,8 +77,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(); } |