diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/xml/XPathPath.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/xml/XPathPath.h')
-rw-r--r-- | Source/WebCore/xml/XPathPath.h | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/Source/WebCore/xml/XPathPath.h b/Source/WebCore/xml/XPathPath.h index 5491618a8..e5725208a 100644 --- a/Source/WebCore/xml/XPathPath.h +++ b/Source/WebCore/xml/XPathPath.h @@ -24,13 +24,11 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef XPathPath_h -#define XPathPath_h +#pragma once #include "XPathExpressionNode.h" namespace WebCore { - namespace XPath { class Step; @@ -40,8 +38,8 @@ namespace WebCore { Filter(std::unique_ptr<Expression>, Vector<std::unique_ptr<Expression>> predicates); private: - virtual Value evaluate() const override; - virtual Value::Type resultType() const override { return Value::NodeSetValue; } + Value evaluate() const override; + Value::Type resultType() const override { return Value::NodeSetValue; } std::unique_ptr<Expression> m_expression; Vector<std::unique_ptr<Expression>> m_predicates; @@ -59,8 +57,8 @@ namespace WebCore { void prependStep(std::unique_ptr<Step>); private: - virtual Value evaluate() const override; - virtual Value::Type resultType() const override { return Value::NodeSetValue; } + Value evaluate() const override; + Value::Type resultType() const override { return Value::NodeSetValue; } Vector<std::unique_ptr<Step>> m_steps; bool m_isAbsolute; @@ -71,14 +69,12 @@ namespace WebCore { Path(std::unique_ptr<Expression> filter, std::unique_ptr<LocationPath>); private: - virtual Value evaluate() const override; - virtual Value::Type resultType() const override { return Value::NodeSetValue; } + Value evaluate() const override; + Value::Type resultType() const override { return Value::NodeSetValue; } std::unique_ptr<Expression> m_filter; std::unique_ptr<LocationPath> m_path; }; - } -} - -#endif // XPath_Path_H + } // namespace XPath +} // namespace WebCore |