Index: Source/core/html/parser/HTMLIdentifier.cpp |
diff --git a/Source/core/html/parser/HTMLIdentifier.cpp b/Source/core/html/parser/HTMLIdentifier.cpp |
index 9b91cfc276723168b5271ea677a92bed365baee5..ca1fcc232b4aef3e94e986fd54ea04fcec906d15 100644 |
--- a/Source/core/html/parser/HTMLIdentifier.cpp |
+++ b/Source/core/html/parser/HTMLIdentifier.cpp |
@@ -27,6 +27,7 @@ |
#include "core/html/parser/HTMLIdentifier.h" |
#include "HTMLNames.h" |
+#include "core/html/parser/HTMLParserIdioms.h" |
#include "wtf/HashMap.h" |
#include "wtf/MainThread.h" |
#include "wtf/text/StringHash.h" |
@@ -46,6 +47,16 @@ static IdentifierTable& identifierTable() |
return table; |
} |
+bool HTMLIdentifier::operator==(const QualifiedName& b) const |
+{ |
+ return threadSafeMatch(*this, b); |
+} |
+ |
+bool HTMLIdentifier::operator!=(const QualifiedName& b) const |
+{ |
+ return !(*this == b); |
+} |
+ |
#ifndef NDEBUG |
bool HTMLIdentifier::isKnown(const StringImpl* string) |
{ |