| Index: Source/core/css/SelectorChecker.h
|
| diff --git a/Source/core/css/SelectorChecker.h b/Source/core/css/SelectorChecker.h
|
| index 2220e16d86cb4e4184ee966696cde58da50a0008..d287107f301e91ef826c4797f008d0ccf6887260 100644
|
| --- a/Source/core/css/SelectorChecker.h
|
| +++ b/Source/core/css/SelectorChecker.h
|
| @@ -104,7 +104,6 @@ public:
|
| template<typename SiblingTraversalStrategy>
|
| bool checkOne(const SelectorCheckingContext&, const SiblingTraversalStrategy&, unsigned* specificity = 0) const;
|
|
|
| - static bool tagMatches(const Element&, const QualifiedName&);
|
| static bool matchesFocusPseudoClass(const Element&);
|
|
|
| private:
|
| @@ -128,17 +127,6 @@ private:
|
| Mode m_mode;
|
| };
|
|
|
| -inline bool SelectorChecker::tagMatches(const Element& element, const QualifiedName& tagQName)
|
| -{
|
| - if (tagQName == anyQName())
|
| - return true;
|
| - const AtomicString& localName = tagQName.localName();
|
| - if (localName != starAtom && localName != element.localName())
|
| - return false;
|
| - const AtomicString& namespaceURI = tagQName.namespaceURI();
|
| - return namespaceURI == starAtom || namespaceURI == element.namespaceURI();
|
| -}
|
| -
|
| }
|
|
|
| #endif
|
|
|