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