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

Side by Side Diff: Source/core/dom/NodeRareData.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/NodeListsNodeData.h ('k') | Source/core/dom/PendingScript.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 13 matching lines...) Expand all
24 24
25 #include "core/dom/MutationObserverRegistration.h" 25 #include "core/dom/MutationObserverRegistration.h"
26 #include "core/dom/NodeListsNodeData.h" 26 #include "core/dom/NodeListsNodeData.h"
27 #include "platform/heap/Handle.h" 27 #include "platform/heap/Handle.h"
28 #include "wtf/HashSet.h" 28 #include "wtf/HashSet.h"
29 #include "wtf/OwnPtr.h" 29 #include "wtf/OwnPtr.h"
30 #include "wtf/PassOwnPtr.h" 30 #include "wtf/PassOwnPtr.h"
31 31
32 namespace blink { 32 namespace blink {
33 33
34 class NodeMutationObserverData FINAL : public NoBaseWillBeGarbageCollected<NodeM utationObserverData> { 34 class NodeMutationObserverData final : public NoBaseWillBeGarbageCollected<NodeM utationObserverData> {
35 WTF_MAKE_NONCOPYABLE(NodeMutationObserverData); 35 WTF_MAKE_NONCOPYABLE(NodeMutationObserverData);
36 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; 36 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
37 public: 37 public:
38 WillBeHeapVector<OwnPtrWillBeMember<MutationObserverRegistration> > registry ; 38 WillBeHeapVector<OwnPtrWillBeMember<MutationObserverRegistration> > registry ;
39 WillBeHeapHashSet<RawPtrWillBeMember<MutationObserverRegistration> > transie ntRegistry; 39 WillBeHeapHashSet<RawPtrWillBeMember<MutationObserverRegistration> > transie ntRegistry;
40 40
41 static PassOwnPtrWillBeRawPtr<NodeMutationObserverData> create() 41 static PassOwnPtrWillBeRawPtr<NodeMutationObserverData> create()
42 { 42 {
43 return adoptPtrWillBeNoop(new NodeMutationObserverData); 43 return adoptPtrWillBeNoop(new NodeMutationObserverData);
44 } 44 }
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 unsigned m_connectedFrameCount : ConnectedFrameCountBits; 127 unsigned m_connectedFrameCount : ConnectedFrameCountBits;
128 unsigned m_elementFlags : NumberOfElementFlags; 128 unsigned m_elementFlags : NumberOfElementFlags;
129 unsigned m_restyleFlags : NumberOfDynamicRestyleFlags; 129 unsigned m_restyleFlags : NumberOfDynamicRestyleFlags;
130 protected: 130 protected:
131 unsigned m_isElementRareData : 1; 131 unsigned m_isElementRareData : 1;
132 }; 132 };
133 133
134 } // namespace blink 134 } // namespace blink
135 135
136 #endif // NodeRareData_h 136 #endif // NodeRareData_h
OLDNEW
« no previous file with comments | « Source/core/dom/NodeListsNodeData.h ('k') | Source/core/dom/PendingScript.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698