Unreviewed debug build fix.
authorkling@webkit.org <kling@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Jan 2012 21:16:46 +0000 (21:16 +0000)
committerkling@webkit.org <kling@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Jan 2012 21:16:46 +0000 (21:16 +0000)
Remove ASSERT that the cached match is cacheable (we don't store that flag anymore.)

* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::findFromMatchedDeclarationCache):

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

Source/WebCore/ChangeLog
Source/WebCore/css/CSSStyleSelector.cpp

index 0ca00a1..6b65065 100755 (executable)
@@ -1,3 +1,12 @@
+2012-01-19  Andreas Kling  <awesomekling@apple.com>
+
+        Unreviewed debug build fix.
+
+        Remove ASSERT that the cached match is cacheable (we don't store that flag anymore.)
+
+        * css/CSSStyleSelector.cpp:
+        (WebCore::CSSStyleSelector::findFromMatchedDeclarationCache):
+
 2012-01-19  Robert Hogan  <robert@webkit.org>
 
         Fix Debug build after r105433
index 5493166..f33d379 100644 (file)
@@ -2365,8 +2365,7 @@ const CSSStyleSelector::MatchedStyleDeclarationCacheItem* CSSStyleSelector::find
     if (it == m_matchedStyleDeclarationCache.end())
         return 0;
     MatchedStyleDeclarationCacheItem& cacheItem = it->second;
-    ASSERT(cacheItem.matchResult.isCacheable);
-    
+
     size_t size = m_matchedDecls.size();
     if (size != cacheItem.matchedStyleDeclarations.size())
         return 0;