| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 #define WILL_BE_USING_PRE_FINALIZER(Class, method) | 125 #define WILL_BE_USING_PRE_FINALIZER(Class, method) |
| 126 #endif | 126 #endif |
| 127 | 127 |
| 128 // List of typed heaps. The list is used to generate the implementation | 128 // List of typed heaps. The list is used to generate the implementation |
| 129 // of typed heap related methods. | 129 // of typed heap related methods. |
| 130 // | 130 // |
| 131 // To create a new typed heap add a H(<ClassName>) to the | 131 // To create a new typed heap add a H(<ClassName>) to the |
| 132 // FOR_EACH_TYPED_HEAP macro below. | 132 // FOR_EACH_TYPED_HEAP macro below. |
| 133 #define FOR_EACH_TYPED_HEAP(H) \ | 133 #define FOR_EACH_TYPED_HEAP(H) \ |
| 134 H(Node) \ | 134 H(Node) \ |
| 135 H(CSSValue) | 135 H(CSSValueObject) |
| 136 | 136 |
| 137 #define TypedHeapEnumName(Type) Type##HeapIndex, | 137 #define TypedHeapEnumName(Type) Type##HeapIndex, |
| 138 | 138 |
| 139 enum HeapIndices { | 139 enum HeapIndices { |
| 140 EagerSweepHeapIndex = 0, | 140 EagerSweepHeapIndex = 0, |
| 141 NormalPage1HeapIndex, | 141 NormalPage1HeapIndex, |
| 142 NormalPage2HeapIndex, | 142 NormalPage2HeapIndex, |
| 143 NormalPage3HeapIndex, | 143 NormalPage3HeapIndex, |
| 144 NormalPage4HeapIndex, | 144 NormalPage4HeapIndex, |
| 145 Vector1HeapIndex, | 145 Vector1HeapIndex, |
| (...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 771 }; | 771 }; |
| 772 | 772 |
| 773 template<> class ThreadStateFor<AnyThread> { | 773 template<> class ThreadStateFor<AnyThread> { |
| 774 public: | 774 public: |
| 775 static ThreadState* state() { return ThreadState::current(); } | 775 static ThreadState* state() { return ThreadState::current(); } |
| 776 }; | 776 }; |
| 777 | 777 |
| 778 } // namespace blink | 778 } // namespace blink |
| 779 | 779 |
| 780 #endif // ThreadState_h | 780 #endif // ThreadState_h |
| OLD | NEW |