Index: Source/core/html/forms/BaseTextInputType.cpp |
diff --git a/Source/core/html/forms/BaseTextInputType.cpp b/Source/core/html/forms/BaseTextInputType.cpp |
index 54c0e74e0aa3d76509e7795105cd8bdd35aacbe3..7dd12c69a2fcce0592eb6ecfff149d68b1c427af 100644 |
--- a/Source/core/html/forms/BaseTextInputType.cpp |
+++ b/Source/core/html/forms/BaseTextInputType.cpp |
@@ -39,7 +39,7 @@ bool BaseTextInputType::isTextType() const |
bool BaseTextInputType::patternMismatch(const String& value) const |
{ |
- const AtomicString& rawPattern = element()->fastGetAttribute(patternAttr); |
+ const AtomicString& rawPattern = element().fastGetAttribute(patternAttr); |
// Empty values can't be mismatched |
if (rawPattern.isNull() || value.isEmpty() || !RegularExpression(rawPattern, TextCaseSensitive).isValid()) |
return false; |