Index: Source/web/WebDocument.cpp |
diff --git a/Source/web/WebDocument.cpp b/Source/web/WebDocument.cpp |
index ba0da496ae96c2e1b0a7e5266f426991c8c596a9..9e8daf636ef11da8aa23ec219d03dcee986b1d35 100644 |
--- a/Source/web/WebDocument.cpp |
+++ b/Source/web/WebDocument.cpp |
@@ -201,6 +201,11 @@ WebNode WebDocument::focusedNode() const |
return WebNode(constUnwrap<Document>()->focusedElement()); |
} |
+WebElement WebDocument::focusedElement() const |
+{ |
+ return WebElement(constUnwrap<Document>()->focusedElement()); |
+} |
+ |
WebDocumentType WebDocument::doctype() const |
{ |
return WebDocumentType(constUnwrap<Document>()->doctype()); |