Index: Source/core/html/parser/HTMLParserIdioms.h |
diff --git a/Source/core/html/parser/HTMLParserIdioms.h b/Source/core/html/parser/HTMLParserIdioms.h |
index 903ca5a37cd3a19b3e93bb5ef9dddd212368ff2b..0e8d8f75cde383c8ccb742425fadc12a9ae65f33 100644 |
--- a/Source/core/html/parser/HTMLParserIdioms.h |
+++ b/Source/core/html/parser/HTMLParserIdioms.h |
@@ -26,7 +26,6 @@ |
#define HTMLParserIdioms_h |
#include "core/dom/QualifiedName.h" |
-#include "core/html/parser/HTMLIdentifier.h" |
#include "platform/Decimal.h" |
#include "wtf/Forward.h" |
#include "wtf/text/WTFString.h" |
@@ -98,15 +97,7 @@ inline bool isNotHTMLSpace(CharType character) |
} |
bool threadSafeMatch(const QualifiedName&, const QualifiedName&); |
-bool threadSafeMatch(const HTMLIdentifier&, const QualifiedName&); |
-inline bool threadSafeHTMLNamesMatch(const HTMLIdentifier& tagName, const QualifiedName& qName) |
-{ |
- // When the QualifiedName is known to HTMLIdentifier, |
- // all we have to do is a pointer compare. |
- ASSERT(HTMLIdentifier::isKnown(qName.localName().impl())); |
- return tagName.asStringImpl() == qName.localName().impl(); |
-} |
+bool threadSafeMatch(const String&, const QualifiedName&); |
} |
- |
#endif |