blob: 243c7efc5ff60fde3d2eb2899fa99be70e02189a [file] [log] [blame]
jbroman5967a862017-04-27 16:52:451// Copyright 2017 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#include "gin/data_object_builder.h"
6
7namespace gin {
8
9DataObjectBuilder::DataObjectBuilder(v8::Isolate* isolate)
10 : isolate_(isolate),
11 context_(isolate->GetCurrentContext()),
12 object_(v8::Object::New(isolate)) {}
13
14} // namespace gin