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 01914921f1550a5a17f197f4c9d4d24c5061c452..372bac8fabd79c7d5e4362409a7f9ea51d563dd6 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLImageElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLImageElement.h |
@@ -76,8 +76,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(); } |