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

Side by Side Diff: Source/core/dom/QualifiedName.cpp

Issue 19010006: core/dom: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rm extra blank line Created 7 years, 5 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
« no previous file with comments | « Source/core/dom/QualifiedName.h ('k') | Source/core/dom/Range.cpp » ('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, 2006, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2005, 2006, 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 14 matching lines...) Expand all
25 #define QNAME_DEFAULT_CONSTRUCTOR 25 #define QNAME_DEFAULT_CONSTRUCTOR
26 #endif 26 #endif
27 27
28 #include "HTMLNames.h" 28 #include "HTMLNames.h"
29 #include "SVGNames.h" 29 #include "SVGNames.h"
30 #include "XLinkNames.h" 30 #include "XLinkNames.h"
31 #include "XMLNSNames.h" 31 #include "XMLNSNames.h"
32 #include "XMLNames.h" 32 #include "XMLNames.h"
33 #include "core/dom/QualifiedName.h" 33 #include "core/dom/QualifiedName.h"
34 #include "core/dom/WebCoreMemoryInstrumentation.h" 34 #include "core/dom/WebCoreMemoryInstrumentation.h"
35 #include <wtf/Assertions.h> 35 #include "wtf/Assertions.h"
36 #include <wtf/HashSet.h> 36 #include "wtf/HashSet.h"
37 #include <wtf/StaticConstructors.h> 37 #include "wtf/StaticConstructors.h"
38 38
39 namespace WebCore { 39 namespace WebCore {
40 40
41 static const int staticQualifiedNamesCount = HTMLNames::HTMLTagsCount + HTMLName s::HTMLAttrsCount 41 static const int staticQualifiedNamesCount = HTMLNames::HTMLTagsCount + HTMLName s::HTMLAttrsCount
42 + SVGNames::SVGTagsCount + SVGNames::SVGAttrsCount 42 + SVGNames::SVGTagsCount + SVGNames::SVGAttrsCount
43 + XLinkNames::XLinkAttrsCount 43 + XLinkNames::XLinkAttrsCount
44 + XMLNSNames::XMLNSAttrsCount 44 + XMLNSNames::XMLNSAttrsCount
45 + XMLNames::XMLAttrsCount; 45 + XMLNames::XMLAttrsCount;
46 46
47 struct QualifiedNameHashTraits : public HashTraits<QualifiedName::QualifiedNameI mpl*> { 47 struct QualifiedNameHashTraits : public HashTraits<QualifiedName::QualifiedNameI mpl*> {
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 { 158 {
159 new (reinterpret_cast<void*>(targetAddress)) QualifiedName(nullAtom, AtomicS tring(name), nameNamespace); 159 new (reinterpret_cast<void*>(targetAddress)) QualifiedName(nullAtom, AtomicS tring(name), nameNamespace);
160 } 160 }
161 161
162 void createQualifiedName(void* targetAddress, StringImpl* name) 162 void createQualifiedName(void* targetAddress, StringImpl* name)
163 { 163 {
164 new (reinterpret_cast<void*>(targetAddress)) QualifiedName(nullAtom, AtomicS tring(name), nullAtom); 164 new (reinterpret_cast<void*>(targetAddress)) QualifiedName(nullAtom, AtomicS tring(name), nullAtom);
165 } 165 }
166 166
167 } 167 }
OLDNEW
« no previous file with comments | « Source/core/dom/QualifiedName.h ('k') | Source/core/dom/Range.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698