Index: Source/core/html/HTMLImageElement.cpp |
diff --git a/Source/core/html/HTMLImageElement.cpp b/Source/core/html/HTMLImageElement.cpp |
index a478b00d85924d81431dacbbcd778d30353579cf..5a38f99e662811dbdd0e26097a4abbe595f5873d 100644 |
--- a/Source/core/html/HTMLImageElement.cpp |
+++ b/Source/core/html/HTMLImageElement.cpp |
@@ -638,6 +638,11 @@ float HTMLImageElement::sourceSize(Element& element) |
return SizesAttributeParser(MediaValuesDynamic::create(document()), sizes).length(); |
} |
+void HTMLImageElement::forceReload() const |
+{ |
+ imageLoader().updateFromElement(ImageLoader::UpdateForcedReload); |
+} |
+ |
void HTMLImageElement::selectSourceURL(ImageLoader::UpdateFromElementBehavior behavior) |
{ |
if (!document().isActive()) |