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

Side by Side Diff: Source/WebCore/dom/NodeRareData.h

Issue 10701129: Merge 120983 - Clang build fix. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 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 | « no previous file | no next file » | 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) 2008, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> 3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 28 matching lines...) Expand all
39 #include "HTMLPropertiesCollection.h" 39 #include "HTMLPropertiesCollection.h"
40 #include "MicroDataItemList.h" 40 #include "MicroDataItemList.h"
41 #endif 41 #endif
42 42
43 namespace WebCore { 43 namespace WebCore {
44 44
45 class LabelsNodeList; 45 class LabelsNodeList;
46 class RadioNodeList; 46 class RadioNodeList;
47 class TreeScope; 47 class TreeScope;
48 48
49 struct NodeListsNodeData { 49 class NodeListsNodeData {
50 WTF_MAKE_NONCOPYABLE(NodeListsNodeData); WTF_MAKE_FAST_ALLOCATED; 50 WTF_MAKE_NONCOPYABLE(NodeListsNodeData); WTF_MAKE_FAST_ALLOCATED;
51 public: 51 public:
52 template <typename StringType> 52 template <typename StringType>
53 struct NodeListCacheMapEntryHash { 53 struct NodeListCacheMapEntryHash {
54 static unsigned hash(const std::pair<unsigned char, StringType>& entry) 54 static unsigned hash(const std::pair<unsigned char, StringType>& entry)
55 { 55 {
56 return DefaultHash<StringType>::Hash::hash(entry.second) + entry.fir st; 56 return DefaultHash<StringType>::Hash::hash(entry.second) + entry.fir st;
57 } 57 }
58 static bool equal(const std::pair<unsigned char, StringType>& a, const s td::pair<unsigned char, StringType>& b) { return a == b; } 58 static bool equal(const std::pair<unsigned char, StringType>& a, const s td::pair<unsigned char, StringType>& b) { return a == b; }
59 static const bool safeToCompareToEmptyOrDeleted = DefaultHash<StringType >::Hash::safeToCompareToEmptyOrDeleted; 59 static const bool safeToCompareToEmptyOrDeleted = DefaultHash<StringType >::Hash::safeToCompareToEmptyOrDeleted;
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 #endif 372 #endif
373 373
374 #if ENABLE(STYLE_SCOPED) 374 #if ENABLE(STYLE_SCOPED)
375 size_t m_numberOfScopedHTMLStyleChildren; 375 size_t m_numberOfScopedHTMLStyleChildren;
376 #endif 376 #endif
377 }; 377 };
378 378
379 } // namespace WebCore 379 } // namespace WebCore
380 380
381 #endif // NodeRareData_h 381 #endif // NodeRareData_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698