Title: [283643] trunk/Source/WebCore
Revision
283643
Author
[email protected]
Date
2021-10-06 11:58:05 -0700 (Wed, 06 Oct 2021)

Log Message

Unreviewed build fix.

Fix XPath::Value namespacing after r283635.

* xml/XPathResult.cpp:
(WebCore::XPathResult::XPathResult):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (283642 => 283643)


--- trunk/Source/WebCore/ChangeLog	2021-10-06 18:48:28 UTC (rev 283642)
+++ trunk/Source/WebCore/ChangeLog	2021-10-06 18:58:05 UTC (rev 283643)
@@ -1,3 +1,12 @@
+2021-10-06  Simon Fraser  <[email protected]>
+
+        Unreviewed build fix.
+        
+        Fix XPath::Value namespacing after r283635.
+
+        * xml/XPathResult.cpp:
+        (WebCore::XPathResult::XPathResult):
+
 2021-10-06  Antti Koivisto  <[email protected]>
 
         Clear glyph cache in InlineContent::clearAndDetach

Modified: trunk/Source/WebCore/xml/XPathResult.cpp (283642 => 283643)


--- trunk/Source/WebCore/xml/XPathResult.cpp	2021-10-06 18:48:28 UTC (rev 283642)
+++ trunk/Source/WebCore/xml/XPathResult.cpp	2021-10-06 18:58:05 UTC (rev 283643)
@@ -32,20 +32,20 @@
 
 namespace WebCore {
 
-XPathResult::XPathResult(Document& document, const Value& value)
+XPathResult::XPathResult(Document& document, const XPath::Value& value)
     : m_value(value)
 {
     switch (m_value.type()) {
-        case Value::BooleanValue:
+        case XPath::Value::BooleanValue:
             m_resultType = BOOLEAN_TYPE;
             return;
-        case Value::NumberValue:
+        case XPath::Value::NumberValue:
             m_resultType = NUMBER_TYPE;
             return;
-        case Value::StringValue:
+        case XPath::Value::StringValue:
             m_resultType = STRING_TYPE;
             return;
-        case Value::NodeSetValue:
+        case XPath::Value::NodeSetValue:
             m_resultType = UNORDERED_NODE_ITERATOR_TYPE;
             m_nodeSetPosition = 0;
             m_nodeSet = m_value.toNodeSet();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to