Index: Source/core/loader/ImageLoader.h |
diff --git a/Source/core/loader/ImageLoader.h b/Source/core/loader/ImageLoader.h |
index 589d2a8ed8f7ce9febc57df8fe96adc20684c60f..e0cbc3d60b2cd489bb8a06c351dfc4af7311c174 100644 |
--- a/Source/core/loader/ImageLoader.h |
+++ b/Source/core/loader/ImageLoader.h |
@@ -65,6 +65,10 @@ public: |
// doesn't change; starts new load unconditionally (matches Firefox and Opera behavior). |
void updateFromElementIgnoringPreviousError(); |
+ // Use this function to determine whether to immediately call updateFromElement |
+ // or to schedule a microtask. |
+ bool shouldLoadImmediately() const; |
+ |
void elementDidMoveToNewDocument(); |
Element* element() const { return m_element; } |