Index: third_party/WebKit/Source/core/loader/ImageLoader.h |
diff --git a/third_party/WebKit/Source/core/loader/ImageLoader.h b/third_party/WebKit/Source/core/loader/ImageLoader.h |
index 4898446af2cdcee88aef2c42cc7d63b547deb88d..28b59a5fe33da80dafb6697b9dd228343c14c9b7 100644 |
--- a/third_party/WebKit/Source/core/loader/ImageLoader.h |
+++ b/third_party/WebKit/Source/core/loader/ImageLoader.h |
@@ -64,7 +64,9 @@ public: |
// This forces the image to update its intrinsic size, even if the image source has not changed. |
UpdateSizeChanged, |
// This force the image to refetch and reload the image source, even if it has not changed. |
- UpdateForcedReload |
+ UpdateForcedReload, |
+ |
+ UpdateMyReload, |
}; |
enum BypassMainWorldBehavior { |
@@ -108,6 +110,9 @@ public: |
static void dispatchPendingErrorEvents(); |
bool getImageAnimationPolicy(ImageAnimationPolicy&) final; |
+ |
+ void requireReloading() override; |
+ |
protected: |
void imageNotifyFinished(ImageResource*) override; |
@@ -166,6 +171,7 @@ private: |
bool m_loadingImageDocument : 1; |
bool m_elementIsProtected : 1; |
bool m_suppressErrorEvents : 1; |
+ bool m_suppressEvents : 1; |
}; |
} // namespace blink |