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

Side by Side Diff: Source/core/xml/XPathExpression.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/XMLSerializer.cpp ('k') | Source/core/xml/XPathExpressionNode.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. All rights reserved. 3 * Copyright (C) 2006, 2009 Apple Inc. All rights reserved.
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 16 matching lines...) Expand all
27 #include "config.h" 27 #include "config.h"
28 #include "core/xml/XPathExpression.h" 28 #include "core/xml/XPathExpression.h"
29 29
30 #include "bindings/v8/ExceptionState.h" 30 #include "bindings/v8/ExceptionState.h"
31 #include "core/dom/ExceptionCode.h" 31 #include "core/dom/ExceptionCode.h"
32 #include "core/xml/XPathExpressionNode.h" 32 #include "core/xml/XPathExpressionNode.h"
33 #include "core/xml/XPathNSResolver.h" 33 #include "core/xml/XPathNSResolver.h"
34 #include "core/xml/XPathParser.h" 34 #include "core/xml/XPathParser.h"
35 #include "core/xml/XPathResult.h" 35 #include "core/xml/XPathResult.h"
36 #include "core/xml/XPathUtil.h" 36 #include "core/xml/XPathUtil.h"
37 #include <wtf/text/WTFString.h> 37 #include "wtf/text/WTFString.h"
38 38
39 namespace WebCore { 39 namespace WebCore {
40 40
41 using namespace XPath; 41 using namespace XPath;
42 42
43 PassRefPtr<XPathExpression> XPathExpression::createExpression(const String& expr ession, XPathNSResolver* resolver, ExceptionState& es) 43 PassRefPtr<XPathExpression> XPathExpression::createExpression(const String& expr ession, XPathNSResolver* resolver, ExceptionState& es)
44 { 44 {
45 RefPtr<XPathExpression> expr = XPathExpression::create(); 45 RefPtr<XPathExpression> expr = XPathExpression::create();
46 Parser parser; 46 Parser parser;
47 47
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 if (type != XPathResult::ANY_TYPE) { 81 if (type != XPathResult::ANY_TYPE) {
82 result->convertTo(type, es); 82 result->convertTo(type, es);
83 if (es.hadException()) 83 if (es.hadException())
84 return 0; 84 return 0;
85 } 85 }
86 86
87 return result; 87 return result;
88 } 88 }
89 89
90 } 90 }
OLDNEW
« no previous file with comments | « Source/core/xml/XMLSerializer.cpp ('k') | Source/core/xml/XPathExpressionNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698