REGRESSION (r95052): SelectorChecker identifier filter not working
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Sep 2011 16:25:13 +0000 (16:25 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Sep 2011 16:25:13 +0000 (16:25 +0000)
https://bugs.webkit.org/show_bug.cgi?id=68244

Reviewed by Dan Bernstein.

Missing &.

* css/SelectorChecker.cpp:
(WebCore::collectDescendantSelectorIdentifierHashes):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95295 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/css/SelectorChecker.cpp

index e059b1f..9ecdcf9 100644 (file)
@@ -1,3 +1,15 @@
+2011-09-16  Antti Koivisto  <antti@apple.com>
+
+        REGRESSION (r95052): SelectorChecker identifier filter not working
+        https://bugs.webkit.org/show_bug.cgi?id=68244
+
+        Reviewed by Dan Bernstein.
+
+        Missing &.
+
+        * css/SelectorChecker.cpp:
+        (WebCore::collectDescendantSelectorIdentifierHashes):
+
 2011-09-16  Csaba Osztrogonác  <ossy@webkit.org>
 
         Unreviewed typo fix after r95271.
index 8933640..6eb1212 100644 (file)
@@ -161,7 +161,7 @@ void SelectorChecker::popParent(Element* parent)
     popParentStackFrame();
 }
 
-static inline void collectDescendantSelectorIdentifierHashes(const CSSSelector* selector, unsigned* hash, const unsigned* end)
+static inline void collectDescendantSelectorIdentifierHashes(const CSSSelector* selector, unsigned*& hash, const unsigned* end)
 {
     if ((selector->m_match == CSSSelector::Id || selector->m_match == CSSSelector::Class) && !selector->value().isEmpty())
         (*hash++) = selector->value().impl()->existingHash();