Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index 0b96aa6bf46ce3a9ba7d9216cbb2204c26956cb6..8132fae9e9a6c4bceeac281131e43dd01a8687c7 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -1307,7 +1307,7 @@ void HTMLInputElement::setSize(unsigned size, ExceptionState& exceptionState) |
KURL HTMLInputElement::src() const |
{ |
- return document().completeURL(fastGetAttribute(srcAttr)); |
+ return treeScope().completeURL(fastGetAttribute(srcAttr)); |
} |
FileList* HTMLInputElement::files() |