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

Side by Side Diff: third_party/WebKit/Source/core/xml/XPathFunctions.cpp

Issue 2812013004: Rewrite references to "wtf/" to "platform/wtf/" in core/{dom,html,xml}. (Closed)
Patch Set: Created 3 years, 8 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
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 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 16 matching lines...) Expand all
27 27
28 #include "core/xml/XPathFunctions.h" 28 #include "core/xml/XPathFunctions.h"
29 29
30 #include "core/XMLNames.h" 30 #include "core/XMLNames.h"
31 #include "core/dom/Attr.h" 31 #include "core/dom/Attr.h"
32 #include "core/dom/Element.h" 32 #include "core/dom/Element.h"
33 #include "core/dom/ProcessingInstruction.h" 33 #include "core/dom/ProcessingInstruction.h"
34 #include "core/dom/TreeScope.h" 34 #include "core/dom/TreeScope.h"
35 #include "core/xml/XPathUtil.h" 35 #include "core/xml/XPathUtil.h"
36 #include "core/xml/XPathValue.h" 36 #include "core/xml/XPathValue.h"
37 #include "wtf/MathExtras.h" 37 #include "platform/wtf/MathExtras.h"
38 #include "wtf/text/StringBuilder.h" 38 #include "platform/wtf/text/StringBuilder.h"
39 39
40 #include <algorithm> 40 #include <algorithm>
41 #include <limits> 41 #include <limits>
42 42
43 namespace blink { 43 namespace blink {
44 namespace XPath { 44 namespace XPath {
45 45
46 static inline bool IsWhitespace(UChar c) { 46 static inline bool IsWhitespace(UChar c) {
47 return c == ' ' || c == '\n' || c == '\r' || c == '\t'; 47 return c == ' ' || c == '\n' || c == '\r' || c == '\t';
48 } 48 }
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 return nullptr; 765 return nullptr;
766 766
767 Function* function = function_rec->factory_fn(); 767 Function* function = function_rec->factory_fn();
768 function->SetArguments(args); 768 function->SetArguments(args);
769 function->SetName(name); 769 function->SetName(name);
770 return function; 770 return function;
771 } 771 }
772 772
773 } // namespace XPath 773 } // namespace XPath
774 } // namespace blink 774 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/xml/XPathExpressionNode.cpp ('k') | third_party/WebKit/Source/core/xml/XPathFunctionsTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698