Title: [195455] trunk/Source/WebCore
Revision
195455
Author
[email protected]
Date
2016-01-22 10:06:18 -0800 (Fri, 22 Jan 2016)

Log Message

Unreviewed iOS build fix after r195452.

* accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::colorValue):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (195454 => 195455)


--- trunk/Source/WebCore/ChangeLog	2016-01-22 18:03:26 UTC (rev 195454)
+++ trunk/Source/WebCore/ChangeLog	2016-01-22 18:06:18 UTC (rev 195455)
@@ -1,3 +1,10 @@
+2016-01-22  Chris Dumez  <[email protected]>
+
+        Unreviewed iOS build fix after r195452.
+
+        * accessibility/AccessibilityNodeObject.cpp:
+        (WebCore::AccessibilityNodeObject::colorValue):
+
 2016-01-21  Dave Hyatt  <[email protected]>
 
         Elements with overflow and border-radius don't show in multicolumn properly.

Modified: trunk/Source/WebCore/accessibility/AccessibilityNodeObject.cpp (195454 => 195455)


--- trunk/Source/WebCore/accessibility/AccessibilityNodeObject.cpp	2016-01-22 18:03:26 UTC (rev 195454)
+++ trunk/Source/WebCore/accessibility/AccessibilityNodeObject.cpp	2016-01-22 18:06:18 UTC (rev 195455)
@@ -1845,13 +1845,14 @@
     g = 0;
     b = 0;
 
+#if ENABLE(INPUT_TYPE_COLOR)
     if (!isColorWell())
         return;
 
     if (!is<HTMLInputElement>(node()))
         return;
 
-    HTMLInputElement& input = downcast<HTMLInputElement>(*node());
+    auto& input = downcast<HTMLInputElement>(*node());
     if (!input.isColorControl())
         return;
 
@@ -1860,6 +1861,7 @@
     r = color.red();
     g = color.green();
     b = color.blue();
+#endif
 }
 
 // This function implements the ARIA accessible name as described by the Mozilla                                        
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to