OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "platform/heap/PersistentNode.h" | 5 #include "platform/heap/PersistentNode.h" |
6 | 6 |
| 7 #include "base/debug/alias.h" |
7 #include "platform/heap/Handle.h" | 8 #include "platform/heap/Handle.h" |
8 | 9 |
9 namespace blink { | 10 namespace blink { |
10 | 11 |
11 namespace { | 12 namespace { |
12 | 13 |
13 class DummyGCBase final : public GarbageCollected<DummyGCBase> { | 14 class DummyGCBase final : public GarbageCollected<DummyGCBase> { |
14 public: | 15 public: |
15 DEFINE_INLINE_TRACE() {} | 16 DEFINE_INLINE_TRACE() {} |
16 }; | 17 }; |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 } | 191 } |
191 } | 192 } |
192 } | 193 } |
193 #if DCHECK_IS_ON() | 194 #if DCHECK_IS_ON() |
194 DCHECK_EQ(persistentCount, m_persistentRegion->m_persistentCount); | 195 DCHECK_EQ(persistentCount, m_persistentRegion->m_persistentCount); |
195 #endif | 196 #endif |
196 } | 197 } |
197 #endif | 198 #endif |
198 | 199 |
199 } // namespace blink | 200 } // namespace blink |
OLD | NEW |