blob: 7ce76085296a1868096c363d86c4f5dc1210d1db [file] [log] [blame]
[email protected]a22998a2013-11-10 05:00:501// Copyright 2013 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/runner.h"
6
[email protected]a22998a2013-11-10 05:00:507namespace gin {
8
Jeremy Roman7c5cfabd2019-08-12 15:45:279Runner::Runner() {}
[email protected]a22998a2013-11-10 05:00:5010
Chris Watkins756035a2017-12-01 03:03:2711Runner::~Runner() = default;
[email protected]97f21ca2013-11-17 17:46:0712
[email protected]a22998a2013-11-10 05:00:5013Runner::Scope::Scope(Runner* runner)
[email protected]1771610d2014-02-27 06:08:2414 : isolate_scope_(runner->GetContextHolder()->isolate()),
15 handle_scope_(runner->GetContextHolder()->isolate()),
16 scope_(runner->GetContextHolder()->context()) {
[email protected]a22998a2013-11-10 05:00:5017}
18
Chris Watkins756035a2017-12-01 03:03:2719Runner::Scope::~Scope() = default;
[email protected]a22998a2013-11-10 05:00:5020
21} // namespace gin