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

Side by Side Diff: Source/core/dom/NodeListsNodeData.h

Issue 633573004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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/NodeIterator.h ('k') | Source/core/dom/NodeRareData.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) 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 15 matching lines...) Expand all
26 #include "core/dom/EmptyNodeList.h" 26 #include "core/dom/EmptyNodeList.h"
27 #include "core/dom/QualifiedName.h" 27 #include "core/dom/QualifiedName.h"
28 #include "core/dom/TagCollection.h" 28 #include "core/dom/TagCollection.h"
29 #include "core/html/CollectionType.h" 29 #include "core/html/CollectionType.h"
30 #include "platform/heap/Handle.h" 30 #include "platform/heap/Handle.h"
31 #include "wtf/text/AtomicString.h" 31 #include "wtf/text/AtomicString.h"
32 #include "wtf/text/StringHash.h" 32 #include "wtf/text/StringHash.h"
33 33
34 namespace blink { 34 namespace blink {
35 35
36 class NodeListsNodeData FINAL : public NoBaseWillBeGarbageCollectedFinalized<Nod eListsNodeData> { 36 class NodeListsNodeData final : public NoBaseWillBeGarbageCollectedFinalized<Nod eListsNodeData> {
37 WTF_MAKE_NONCOPYABLE(NodeListsNodeData); 37 WTF_MAKE_NONCOPYABLE(NodeListsNodeData);
38 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; 38 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
39 public: 39 public:
40 ChildNodeList* childNodeList(ContainerNode& node) 40 ChildNodeList* childNodeList(ContainerNode& node)
41 { 41 {
42 ASSERT_UNUSED(node, !m_childNodeList || node == m_childNodeList->virtual OwnerNode()); 42 ASSERT_UNUSED(node, !m_childNodeList || node == m_childNodeList->virtual OwnerNode());
43 return toChildNodeList(m_childNodeList); 43 return toChildNodeList(m_childNodeList);
44 } 44 }
45 45
46 PassRefPtrWillBeRawPtr<ChildNodeList> ensureChildNodeList(ContainerNode& nod e) 46 PassRefPtrWillBeRawPtr<ChildNodeList> ensureChildNodeList(ContainerNode& nod e)
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 template <typename Collection> 258 template <typename Collection>
259 inline Collection* ContainerNode::cachedCollection(CollectionType type) 259 inline Collection* ContainerNode::cachedCollection(CollectionType type)
260 { 260 {
261 NodeListsNodeData* nodeLists = this->nodeLists(); 261 NodeListsNodeData* nodeLists = this->nodeLists();
262 return nodeLists ? nodeLists->cached<Collection>(type) : 0; 262 return nodeLists ? nodeLists->cached<Collection>(type) : 0;
263 } 263 }
264 264
265 } // namespace blink 265 } // namespace blink
266 266
267 #endif // NodeListsNodeData_h 267 #endif // NodeListsNodeData_h
OLDNEW
« no previous file with comments | « Source/core/dom/NodeIterator.h ('k') | Source/core/dom/NodeRareData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698