Fix build when compiling with css3-text and css3-conditional-rules feature flags...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Feb 2013 00:18:14 +0000 (00:18 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Feb 2013 00:18:14 +0000 (00:18 +0000)
https://bugs.webkit.org/show_bug.cgi?id=109217

Patch by Lamarque V. Souza <Lamarque.Souza@basyskom.com> on 2013-02-07
Reviewed by Benjamin Poulain.

* css/InspectorCSSOMWrappers.cpp:
(WebCore::InspectorCSSOMWrappers::collect):

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

Source/WebCore/ChangeLog
Source/WebCore/css/InspectorCSSOMWrappers.cpp

index efc09917df132f87ed72cc2bdd3d54fa9db16b70..27f390c244bfa826aa72a89d752a557728f05b38 100644 (file)
@@ -1,3 +1,13 @@
+2013-02-07  Lamarque V. Souza  <Lamarque.Souza@basyskom.com>
+
+        Fix build when compiling with css3-text and css3-conditional-rules feature flags enabled.
+        https://bugs.webkit.org/show_bug.cgi?id=109217
+
+        Reviewed by Benjamin Poulain.
+
+        * css/InspectorCSSOMWrappers.cpp:
+        (WebCore::InspectorCSSOMWrappers::collect):
+
 2013-02-07  Keishi Hattori  <keishi@webkit.org>
 
         REGRESSION (r140778): Calendar Picker doesn't open when the element has the required attribute
index a35c9534af4797f1f7f42229f3a78a38ff72cb96..26d1fef2c0ee6629579f64f09ba10c3b9b2be3de 100644 (file)
@@ -36,6 +36,7 @@
 #include "CSSRule.h"
 #include "CSSStyleRule.h"
 #include "CSSStyleSheet.h"
+#include "CSSSupportsRule.h"
 #include "DocumentStyleSheetCollection.h"
 #include "StyleSheetContents.h"
 #include "WebKitCSSRegionRule.h"
@@ -68,7 +69,7 @@ void InspectorCSSOMWrappers::collect(ListType* listType)
             break;
 #if ENABLE(CSS3_CONDITIONAL_RULES)
         case CSSRule::SUPPORTS_RULE:
-            collectCSSOMWrappers(static_cast<CSSSupportsRule*>(cssRule));
+            collect(static_cast<CSSSupportsRule*>(cssRule));
             break;
 #endif
 #if ENABLE(CSS_REGIONS)