Index: Source/web/WebElement.cpp |
diff --git a/Source/web/WebElement.cpp b/Source/web/WebElement.cpp |
index 7045bcc21568ceb7cb66d2fa65d29a4f2b96d170..d5243408114a32f2431fbdc8f3c006cc76d68464 100644 |
--- a/Source/web/WebElement.cpp |
+++ b/Source/web/WebElement.cpp |
@@ -152,7 +152,7 @@ void WebElement::requestFullScreen() |
WebDocument WebElement::document() const |
{ |
- return WebDocument(constUnwrap<Element>()->document()); |
+ return WebDocument(&constUnwrap<Element>()->document()); |
} |
WebRect WebElement::boundsInViewportSpace() |