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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 protected: | 185 protected: |
186 Allocator* m_allocator; | 186 Allocator* m_allocator; |
187 uint8_t* m_base; | 187 uint8_t* m_base; |
188 size_t m_size; | 188 size_t m_size; |
189 size_t m_currentOffset; | 189 size_t m_currentOffset; |
190 }; | 190 }; |
191 | 191 |
192 RefPtr<Allocator> m_allocator; | 192 RefPtr<Allocator> m_allocator; |
193 Chunk* m_current; | 193 Chunk* m_current; |
194 size_t m_currentChunkSize; | 194 size_t m_currentChunkSize; |
195 Vector<OwnPtr<Chunk> > m_chunks; | 195 Vector<OwnPtr<Chunk>> m_chunks; |
196 }; | 196 }; |
197 | 197 |
198 } // namespace blink | 198 } // namespace blink |
199 | 199 |
200 #endif // PODArena_h | 200 #endif // PODArena_h |
OLD | NEW |