| Index: gin/data_object_builder.cc
|
| diff --git a/gin/data_object_builder.cc b/gin/data_object_builder.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..243c7efc5ff60fde3d2eb2899fa99be70e02189a
|
| --- /dev/null
|
| +++ b/gin/data_object_builder.cc
|
| @@ -0,0 +1,14 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "gin/data_object_builder.h"
|
| +
|
| +namespace gin {
|
| +
|
| +DataObjectBuilder::DataObjectBuilder(v8::Isolate* isolate)
|
| + : isolate_(isolate),
|
| + context_(isolate->GetCurrentContext()),
|
| + object_(v8::Object::New(isolate)) {}
|
| +
|
| +} // namespace gin
|
|
|