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

Side by Side Diff: Source/platform/heap/ThreadState.h

Issue 869323003: Oilpan: move RenderObjects off heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review-induced improvements Created 5 years, 10 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/svg/RadialGradientAttributes.h ('k') | 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 #define WILL_BE_USING_PRE_FINALIZER(Class, method) 167 #define WILL_BE_USING_PRE_FINALIZER(Class, method)
168 #endif 168 #endif
169 169
170 // List of typed heaps. The list is used to generate the implementation 170 // List of typed heaps. The list is used to generate the implementation
171 // of typed heap related methods. 171 // of typed heap related methods.
172 // 172 //
173 // To create a new typed heap add a H(<ClassName>) to the 173 // To create a new typed heap add a H(<ClassName>) to the
174 // FOR_EACH_TYPED_HEAP macro below. 174 // FOR_EACH_TYPED_HEAP macro below.
175 #define FOR_EACH_TYPED_HEAP(H) \ 175 #define FOR_EACH_TYPED_HEAP(H) \
176 H(Node) \ 176 H(Node) \
177 H(RenderObject) \
178 H(CSSValue) 177 H(CSSValue)
179 178
180 #define TypedHeapEnumName(Type) Type##Heap, 179 #define TypedHeapEnumName(Type) Type##Heap,
181 180
182 enum TypedHeaps { 181 enum TypedHeaps {
183 GeneralHeap = 0, 182 GeneralHeap = 0,
184 VectorBackingHeap, 183 VectorBackingHeap,
185 InlineVectorBackingHeap, 184 InlineVectorBackingHeap,
186 HashTableBackingHeap, 185 HashTableBackingHeap,
187 FOR_EACH_TYPED_HEAP(TypedHeapEnumName) 186 FOR_EACH_TYPED_HEAP(TypedHeapEnumName)
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 m_locked = false; 724 m_locked = false;
726 } 725 }
727 726
728 MutexBase& m_mutex; 727 MutexBase& m_mutex;
729 bool m_locked; 728 bool m_locked;
730 }; 729 };
731 730
732 } // namespace blink 731 } // namespace blink
733 732
734 #endif // ThreadState_h 733 #endif // ThreadState_h
OLDNEW
« no previous file with comments | « Source/core/svg/RadialGradientAttributes.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698