Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / platform / heap / HeapTerminatedArrayBuilder.h
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef HeapTerminatedArrayBuilder_h
6 #define HeapTerminatedArrayBuilder_h
7
8 #include "platform/heap/Heap.h"
9 #include "platform/heap/HeapTerminatedArray.h"
10 #include "wtf/TerminatedArrayBuilder.h"
11
12 namespace WebCore {
13
14 template<typename T>
15 class HeapTerminatedArrayBuilder : public TerminatedArrayBuilder<T, HeapTerminatedArray> {
16 public:
17     explicit HeapTerminatedArrayBuilder(HeapTerminatedArray<T>* array) : TerminatedArrayBuilder<T, HeapTerminatedArray>(array) { }
18 };
19
20 } // namespace WebCore
21
22 #endif // HeapTerminatedArrayBuilder_h