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

Side by Side Diff: Source/core/xml/XPathUtil.cpp

Issue 23005002: core: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixes Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/xml/XPathUtil.h ('k') | Source/core/xml/XPathValue.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005 Frerich Raabe <raabe@kde.org> 2 * Copyright (C) 2005 Frerich Raabe <raabe@kde.org>
3 * Copyright (C) 2006, 2009 Apple Inc. 3 * Copyright (C) 2006, 2009 Apple Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 11 matching lines...) Expand all
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 #include "config.h" 27 #include "config.h"
28 #include "core/xml/XPathUtil.h" 28 #include "core/xml/XPathUtil.h"
29 29
30 #include "core/dom/ContainerNode.h" 30 #include "core/dom/ContainerNode.h"
31 #include "core/dom/NodeTraversal.h" 31 #include "core/dom/NodeTraversal.h"
32 #include <wtf/text/StringBuilder.h> 32 #include "wtf/text/StringBuilder.h"
33 33
34 namespace WebCore { 34 namespace WebCore {
35 namespace XPath { 35 namespace XPath {
36 36
37 bool isRootDomNode(Node* node) 37 bool isRootDomNode(Node* node)
38 { 38 {
39 return node && !node->parentNode(); 39 return node && !node->parentNode();
40 } 40 }
41 41
42 String stringValue(Node* node) 42 String stringValue(Node* node)
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 return false; 88 return false;
89 case Node::TEXT_NODE: 89 case Node::TEXT_NODE:
90 return !(node->parentNode() && node->parentNode()->isAttributeNode() ); 90 return !(node->parentNode() && node->parentNode()->isAttributeNode() );
91 } 91 }
92 ASSERT_NOT_REACHED(); 92 ASSERT_NOT_REACHED();
93 return false; 93 return false;
94 } 94 }
95 95
96 } 96 }
97 } 97 }
OLDNEW
« no previous file with comments | « Source/core/xml/XPathUtil.h ('k') | Source/core/xml/XPathValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698