Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 86dfa58c4b84ffde16b15671fd78e4039195ddb0..a9cf5c51b5f18e846456a954b5e9d5a419329b68 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -941,7 +941,7 @@ bool Internals::wasLastChangeUserEdit(Element* textField, ExceptionCode& ec) |
// FIXME: We should be using hasTagName instead but Windows port doesn't link QualifiedNames properly. |
if (textField->tagName() == "TEXTAREA") |
- return static_cast<HTMLTextAreaElement*>(textField)->lastChangeWasUserEdit(); |
+ return toHTMLTextAreaElement(textField)->lastChangeWasUserEdit(); |
ec = InvalidNodeTypeError; |
return false; |