summaryrefslogtreecommitdiff
path: root/Source/WebCore/xml/XPathExpression.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/xml/XPathExpression.idl')
-rw-r--r--Source/WebCore/xml/XPathExpression.idl9
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/WebCore/xml/XPathExpression.idl b/Source/WebCore/xml/XPathExpression.idl
index 4707630ea..19758dc23 100644
--- a/Source/WebCore/xml/XPathExpression.idl
+++ b/Source/WebCore/xml/XPathExpression.idl
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Apple Inc. All rights reserved.
* Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
*
* This library is free software; you can redistribute it and/or
@@ -17,11 +17,10 @@
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
+
[
+ ExportToWrappedFunction,
ImplementationLacksVTable,
] interface XPathExpression {
- [ObjCLegacyUnnamedParameters, RaisesException] XPathResult evaluate([Default=Undefined] optional Node contextNode,
- [Default=Undefined] optional unsigned short type,
- [Default=Undefined] optional XPathResult inResult);
+ [MayThrowException] XPathResult evaluate(optional Node? contextNode = null, optional unsigned short type = 0, optional XPathResult? inResult = null);
};
-