Index: Source/core/html/HTMLScriptElement.cpp |
diff --git a/Source/core/html/HTMLScriptElement.cpp b/Source/core/html/HTMLScriptElement.cpp |
index 50afbd1463d6b7201c4c8a92c75ec7dba101c05b..9b304fd307f3c3f5250dd5a1f5179deb8f62633e 100644 |
--- a/Source/core/html/HTMLScriptElement.cpp |
+++ b/Source/core/html/HTMLScriptElement.cpp |
@@ -109,7 +109,7 @@ bool HTMLScriptElement::async() const |
KURL HTMLScriptElement::src() const |
{ |
- return document().completeURL(sourceAttributeValue()); |
+ return treeScope().completeURL(sourceAttributeValue()); |
} |
String HTMLScriptElement::sourceAttributeValue() const |