OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 Allocator* m_allocator; | 188 Allocator* m_allocator; |
189 uint8_t* m_base; | 189 uint8_t* m_base; |
190 size_t m_size; | 190 size_t m_size; |
191 size_t m_currentOffset; | 191 size_t m_currentOffset; |
192 }; | 192 }; |
193 | 193 |
194 RefPtr<Allocator> m_allocator; | 194 RefPtr<Allocator> m_allocator; |
195 Chunk* m_current; | 195 Chunk* m_current; |
196 size_t m_currentChunkSize; | 196 size_t m_currentChunkSize; |
197 Vector<OwnPtr<Chunk>> m_chunks; | 197 Vector<OwnPtr<Chunk>> m_chunks; |
198 | |
199 #if COMPILER(MSVC) | |
200 friend struct ::WTF::OwnedPtrDeleter<Chunk>; | |
201 #endif | |
202 }; | 198 }; |
203 | 199 |
204 } // namespace blink | 200 } // namespace blink |
205 | 201 |
206 #endif // PODArena_h | 202 #endif // PODArena_h |
OLD | NEW |