Index: Source/core/rendering/HitTestResult.cpp |
diff --git a/Source/core/rendering/HitTestResult.cpp b/Source/core/rendering/HitTestResult.cpp |
index 614afa8d5d6fe03fa97c3ae181362c9c58e67a98..fd72506e7ba451d2efa425f4f8c31f12b2f40bb7 100644 |
--- a/Source/core/rendering/HitTestResult.cpp |
+++ b/Source/core/rendering/HitTestResult.cpp |
@@ -34,6 +34,7 @@ |
#include "core/html/HTMLImageElement.h" |
#include "core/html/HTMLInputElement.h" |
#include "core/html/HTMLMediaElement.h" |
+#include "core/html/HTMLTextAreaElement.h" |
#include "core/html/HTMLVideoElement.h" |
#include "core/html/parser/HTMLParserIdioms.h" |
#include "core/loader/cache/CachedImage.h" |
@@ -385,7 +386,7 @@ bool HitTestResult::isContentEditable() const |
if (!m_innerNonSharedNode) |
return false; |
- if (m_innerNonSharedNode->hasTagName(textareaTag)) |
+ if (isHTMLTextAreaElement(m_innerNonSharedNode.get())) |
return true; |
if (m_innerNonSharedNode->hasTagName(inputTag)) |