Index: Source/core/html/HTMLImageElement.cpp |
diff --git a/Source/core/html/HTMLImageElement.cpp b/Source/core/html/HTMLImageElement.cpp |
index 1145fea772414d5019a2dc4acad3869719a83976..d7d8c971b57f330e1d38e6a9b1e10a4b4d9aa103 100644 |
--- a/Source/core/html/HTMLImageElement.cpp |
+++ b/Source/core/html/HTMLImageElement.cpp |
@@ -114,6 +114,11 @@ const AtomicString HTMLImageElement::imageSourceURL() const |
return m_bestFitImageURL.isNull() ? fastGetAttribute(srcAttr) : m_bestFitImageURL; |
} |
+HTMLFormElement* HTMLImageElement::formOwner() const |
+{ |
+ return findFormAncestor(); |
+} |
+ |
void HTMLImageElement::parseAttribute(const QualifiedName& name, const AtomicString& value) |
{ |
if (name == altAttr) { |