jbroman | 5967a86 | 2017-04-27 16:52:45 | [diff] [blame] | 1 | // 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 | |||||
7 | namespace gin { | ||||
8 | |||||
9 | DataObjectBuilder::DataObjectBuilder(v8::Isolate* isolate) | ||||
10 | : isolate_(isolate), | ||||
11 | context_(isolate->GetCurrentContext()), | ||||
12 | object_(v8::Object::New(isolate)) {} | ||||
13 | |||||
14 | } // namespace gin |