| 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 11 matching lines...) Expand all Loading... |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef PODIntervalTree_h | 26 #ifndef PODIntervalTree_h |
| 27 #define PODIntervalTree_h | 27 #define PODIntervalTree_h |
| 28 | 28 |
| 29 #include "core/platform/PODArena.h" | 29 #include "core/platform/PODArena.h" |
| 30 #include "core/platform/PODInterval.h" | 30 #include "core/platform/PODInterval.h" |
| 31 #include "core/platform/PODRedBlackTree.h" | 31 #include "core/platform/PODRedBlackTree.h" |
| 32 #include <wtf/Assertions.h> | 32 #include "wtf/Assertions.h" |
| 33 #include <wtf/Noncopyable.h> | 33 #include "wtf/Noncopyable.h" |
| 34 #include <wtf/Vector.h> | 34 #include "wtf/Vector.h" |
| 35 | 35 |
| 36 namespace WebCore { | 36 namespace WebCore { |
| 37 | 37 |
| 38 #ifndef NDEBUG | 38 #ifndef NDEBUG |
| 39 template<class T> | 39 template<class T> |
| 40 struct ValueToString; | 40 struct ValueToString; |
| 41 #endif | 41 #endif |
| 42 | 42 |
| 43 template <class T, class UserData = void*> | 43 template <class T, class UserData = void*> |
| 44 class PODIntervalSearchAdapter { | 44 class PODIntervalSearchAdapter { |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 static String string(const PODInterval<T, UserData>& interval) | 257 static String string(const PODInterval<T, UserData>& interval) |
| 258 { | 258 { |
| 259 return interval.toString(); | 259 return interval.toString(); |
| 260 } | 260 } |
| 261 }; | 261 }; |
| 262 #endif | 262 #endif |
| 263 | 263 |
| 264 } // namespace WebCore | 264 } // namespace WebCore |
| 265 | 265 |
| 266 #endif // PODIntervalTree_h | 266 #endif // PODIntervalTree_h |
| OLD | NEW |