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

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

Issue 402433005: Oilpan: Remove support for tracing off-heap HashSets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix deadWrapper number in heap tests. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/MutationObserver.cpp ('k') | Source/core/fileapi/FileReader.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) 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 27 matching lines...) Expand all
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 }
45 45
46 void trace(Visitor* visitor) 46 void trace(Visitor* visitor)
47 { 47 {
48 #if ENABLE(OILPAN)
48 visitor->trace(registry); 49 visitor->trace(registry);
49 visitor->trace(transientRegistry); 50 visitor->trace(transientRegistry);
51 #endif
50 } 52 }
51 53
52 private: 54 private:
53 NodeMutationObserverData() { } 55 NodeMutationObserverData() { }
54 }; 56 };
55 57
56 class NodeRareData : public NoBaseWillBeGarbageCollectedFinalized<NodeRareData>, public NodeRareDataBase { 58 class NodeRareData : public NoBaseWillBeGarbageCollectedFinalized<NodeRareData>, public NodeRareDataBase {
57 WTF_MAKE_NONCOPYABLE(NodeRareData); 59 WTF_MAKE_NONCOPYABLE(NodeRareData);
58 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; 60 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
59 public: 61 public:
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 unsigned m_connectedFrameCount : ConnectedFrameCountBits; 127 unsigned m_connectedFrameCount : ConnectedFrameCountBits;
126 unsigned m_elementFlags : NumberOfElementFlags; 128 unsigned m_elementFlags : NumberOfElementFlags;
127 unsigned m_restyleFlags : NumberOfDynamicRestyleFlags; 129 unsigned m_restyleFlags : NumberOfDynamicRestyleFlags;
128 protected: 130 protected:
129 unsigned m_isElementRareData : 1; 131 unsigned m_isElementRareData : 1;
130 }; 132 };
131 133
132 } // namespace WebCore 134 } // namespace WebCore
133 135
134 #endif // NodeRareData_h 136 #endif // NodeRareData_h
OLDNEW
« no previous file with comments | « Source/core/dom/MutationObserver.cpp ('k') | Source/core/fileapi/FileReader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698