Rubber Stamped by Adam Roben
authorjberlin@webkit.org <jberlin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Apr 2010 15:05:25 +0000 (15:05 +0000)
committerjberlin@webkit.org <jberlin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Apr 2010 15:05:25 +0000 (15:05 +0000)
Chromium Release Build Fix.

* css/CSSSelector.cpp:
(WebCore::CSSSelector::pseudoId):
In the case where the DATALIST is not enabled, fall through to NOPSEUDO instead of omitting PseudoInputListButton entirely from the switch.

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

WebCore/ChangeLog
WebCore/css/CSSSelector.cpp

index 27a92d5..a294cf2 100644 (file)
@@ -1,5 +1,15 @@
 2010-04-19  Jessie Berlin  <jberlin@webkit.org>
 
+        Rubber Stamped by Adam Roben
+
+        Chromium Release Build Fix.
+
+        * css/CSSSelector.cpp:
+        (WebCore::CSSSelector::pseudoId):
+        In the case where the DATALIST is not enabled, fall through to NOPSEUDO instead of omitting PseudoInputListButton entirely from the switch.
+
+2010-04-19  Jessie Berlin  <jberlin@webkit.org>
+
         Reviewed by Dave Hyatt.
 
         First steps towards fixing bug 24021 - pseudo-element styles not accessible / retrievable via DOM methods.
index af45378..23a89f6 100644 (file)
@@ -81,10 +81,6 @@ PseudoId CSSSelector::pseudoId(PseudoType type)
         return AFTER;
     case PseudoFileUploadButton:
         return FILE_UPLOAD_BUTTON;
-#if ENABLE(DATALIST)
-    case PseudoInputListButton:
-        return INPUT_LIST_BUTTON;
-#endif
     case PseudoInputPlaceholder:
         return INPUT_PLACEHOLDER;
     case PseudoSliderThumb:
@@ -147,6 +143,10 @@ PseudoId CSSSelector::pseudoId(PseudoType type)
         return INNER_SPIN_BUTTON;
     case PseudoOuterSpinButton:
         return OUTER_SPIN_BUTTON;
+    case PseudoInputListButton:
+#if ENABLE(DATALIST)
+        return INPUT_LIST_BUTTON;
+#endif
     case PseudoUnknown:
     case PseudoEmpty:
     case PseudoFirstChild: