Unreviewed build fix after r172220.
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Aug 2014 19:17:57 +0000 (19:17 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Aug 2014 19:17:57 +0000 (19:17 +0000)
* css/SelectorChecker.cpp:
(WebCore::hasScrollbarPseudoElement):
Use ASSERT_UNUSED instead of just ASSERT.

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

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

index 9b1690e..da01e7c 100644 (file)
@@ -1,5 +1,13 @@
 2014-08-07  Alex Christensen  <achristensen@webkit.org>
 
+        Unreviewed build fix after r172220.
+
+        * css/SelectorChecker.cpp:
+        (WebCore::hasScrollbarPseudoElement):
+        Use ASSERT_UNUSED instead of just ASSERT.
+
+2014-08-07  Alex Christensen  <achristensen@webkit.org>
+
         Compile scrollbar pseudoclass css selectors.
         https://bugs.webkit.org/show_bug.cgi?id=135242
 
index 5ebbc20..d6585bd 100644 (file)
@@ -160,7 +160,7 @@ inline static bool hasScrollbarPseudoElement(const SelectorChecker::SelectorChec
         || dynamicPseudo == SCROLLBAR_TRACK
         || dynamicPseudo == SCROLLBAR_TRACK_PIECE
         || dynamicPseudo == SCROLLBAR_CORNER) {
-        ASSERT(context.scrollbar);
+        ASSERT_UNUSED(context, context.scrollbar);
         return true;
     }