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
12namespace blink {
13
14template<typename T>
15class HeapTerminatedArrayBuilder : public TerminatedArrayBuilder<T, HeapTerminatedArray> {
16public:
17    explicit HeapTerminatedArrayBuilder(HeapTerminatedArray<T>* array) : TerminatedArrayBuilder<T, HeapTerminatedArray>(array) { }
18};
19
20} // namespace blink
21
22#endif // HeapTerminatedArrayBuilder_h
23