Index: Source/core/dom/Node.h |
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h |
index a221f3f067fc9822aecb41518fb42116638ab1d1..b126bfb8018f835df8dc22ffae34af3ee3287995 100644 |
--- a/Source/core/dom/Node.h |
+++ b/Source/core/dom/Node.h |
@@ -601,7 +601,7 @@ public: |
unsigned short compareDocumentPositionInternal(Node*, ShadowTreesTreatment); |
virtual Node* toNode(); |
- virtual HTMLInputElement* toInputElement(); |
+ virtual Result<HTMLInputElement> toInputElement(); |
virtual const AtomicString& interfaceName() const; |
virtual ScriptExecutionContext* scriptExecutionContext() const; |