Index: Source/core/html/HTMLVideoElement.cpp |
diff --git a/Source/core/html/HTMLVideoElement.cpp b/Source/core/html/HTMLVideoElement.cpp |
index 1a6d02bad1009eed8f184f7229aac712105f736a..b87879dbedb3e24cc39eb1cec5a17da881e9e446 100644 |
--- a/Source/core/html/HTMLVideoElement.cpp |
+++ b/Source/core/html/HTMLVideoElement.cpp |
@@ -267,7 +267,7 @@ KURL HTMLVideoElement::posterImageURL() const |
String url = stripLeadingAndTrailingHTMLSpaces(imageSourceURL()); |
if (url.isEmpty()) |
return KURL(); |
- return document().completeURL(url); |
+ return treeScope().completeURL(url); |
} |
} |