Index: Source/core/html/HTMLImageElement.h |
diff --git a/Source/core/html/HTMLImageElement.h b/Source/core/html/HTMLImageElement.h |
index 1b7fbea8b1415f25818062b24aebaadbfc9e8006..7609bd93f100993537bf17a505dc59ffd0bed6a5 100644 |
--- a/Source/core/html/HTMLImageElement.h |
+++ b/Source/core/html/HTMLImageElement.h |
@@ -94,6 +94,12 @@ public: |
virtual FloatSize sourceSize() const OVERRIDE; |
virtual FloatSize defaultDestinationSize() const OVERRIDE; |
+ enum UpdateFromElementBehavior { |
+ UpdateNormal, |
+ UpdateIgnorePreviousError |
+ }; |
+ // public so that HTMLPictureElement can call this as well. |
+ void selectSourceURL(UpdateFromElementBehavior); |
protected: |
explicit HTMLImageElement(Document&, HTMLFormElement* = 0); |