OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "courgette/memory_allocator.h" | 5 #include "courgette/memory_allocator.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 | 8 |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 | 10 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 if (mem) { | 143 if (mem) { |
144 ret = reinterpret_cast<TempMapping**>(mem)[-1]; | 144 ret = reinterpret_cast<TempMapping**>(mem)[-1]; |
145 } | 145 } |
146 DCHECK(ret); | 146 DCHECK(ret); |
147 return ret; | 147 return ret; |
148 } | 148 } |
149 | 149 |
150 } // namespace courgette | 150 } // namespace courgette |
151 | 151 |
152 #endif // OS_WIN | 152 #endif // OS_WIN |
OLD | NEW |