| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |