Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1362)

Unified Diff: Source/core/xml/XPathFunctions.h

Issue 344553002: Fix style erros in XPath-related files. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/xml/XPathExpressionNode.h ('k') | Source/core/xml/XPathGrammar.y » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XPathFunctions.h
diff --git a/Source/core/xml/XPathFunctions.h b/Source/core/xml/XPathFunctions.h
index 26f22ce7efc6f4fb6e8c2b65fbb7b69b6f4e6769..e39632c73e08b64ead43fba2b6180f14b3b1eccd 100644
--- a/Source/core/xml/XPathFunctions.h
+++ b/Source/core/xml/XPathFunctions.h
@@ -31,26 +31,27 @@
namespace WebCore {
- namespace XPath {
-
- class Function : public Expression {
- public:
- void setArguments(WillBeHeapVector<OwnPtrWillBeMember<Expression> >&);
- void setName(const String& name) { m_name = name; }
- protected:
- Expression* arg(int pos) { return subExpr(pos); }
- const Expression* arg(int pos) const { return subExpr(pos); }
- unsigned argCount() const { return subExprCount(); }
- String name() const { return m_name; }
-
- private:
- String m_name;
- };
-
- Function* createFunction(const String& name);
- Function* createFunction(const String& name, WillBeHeapVector<OwnPtrWillBeMember<Expression> >&);
-
- } // namespace XPath
+namespace XPath {
+
+class Function : public Expression {
+public:
+ void setArguments(WillBeHeapVector<OwnPtrWillBeMember<Expression> >&);
+ void setName(const String& name) { m_name = name; }
+
+protected:
+ Expression* arg(int pos) { return subExpr(pos); }
+ const Expression* arg(int pos) const { return subExpr(pos); }
+ unsigned argCount() const { return subExprCount(); }
+ String name() const { return m_name; }
+
+private:
+ String m_name;
+};
+
+Function* createFunction(const String& name);
+Function* createFunction(const String& name, WillBeHeapVector<OwnPtrWillBeMember<Expression> >&);
+
+} // namespace XPath
} // namespace WebCore
« no previous file with comments | « Source/core/xml/XPathExpressionNode.h ('k') | Source/core/xml/XPathGrammar.y » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698