Title: [187112] trunk/Source/WebCore
Revision
187112
Author
[email protected]
Date
2015-07-21 12:21:59 -0700 (Tue, 21 Jul 2015)

Log Message

Fix the !ENABLE(DETAILS_ELEMENT) build after r186598
https://bugs.webkit.org/show_bug.cgi?id=147115

Reviewed by Chris Fleizach.

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (187111 => 187112)


--- trunk/Source/WebCore/ChangeLog	2015-07-21 19:18:47 UTC (rev 187111)
+++ trunk/Source/WebCore/ChangeLog	2015-07-21 19:21:59 UTC (rev 187112)
@@ -1,3 +1,13 @@
+2015-07-21  Csaba Osztrogonác  <[email protected]>
+
+        Fix the !ENABLE(DETAILS_ELEMENT) build after r186598
+        https://bugs.webkit.org/show_bug.cgi?id=147115
+
+        Reviewed by Chris Fleizach.
+
+        * accessibility/AccessibilityNodeObject.cpp:
+        (WebCore::AccessibilityNodeObject::setIsExpanded):
+
 2015-07-21  David Hyatt  <[email protected]>
 
         Need a way to ignore text-zoom in a Web page.

Modified: trunk/Source/WebCore/accessibility/AccessibilityNodeObject.cpp (187111 => 187112)


--- trunk/Source/WebCore/accessibility/AccessibilityNodeObject.cpp	2015-07-21 19:18:47 UTC (rev 187111)
+++ trunk/Source/WebCore/accessibility/AccessibilityNodeObject.cpp	2015-07-21 19:21:59 UTC (rev 187112)
@@ -1612,11 +1612,15 @@
 
 void AccessibilityNodeObject::setIsExpanded(bool expand)
 {
+#if ENABLE(DETAILS_ELEMENT)
     if (is<HTMLDetailsElement>(node())) {
         auto& details = downcast<HTMLDetailsElement>(*node());
         if (expand != details.isOpen())
             details.toggleOpen();
     }
+#else
+    UNUSED_PARAM(expand);
+#endif
 }
     
 // When building the textUnderElement for an object, determine whether or not
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to