runner.cc 530 B

123456789101112131415161718192021
  1. // 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. #include "gin/runner.h"
  5. namespace gin {
  6. Runner::Runner() {}
  7. Runner::~Runner() = default;
  8. Runner::Scope::Scope(Runner* runner)
  9. : isolate_scope_(runner->GetContextHolder()->isolate()),
  10. handle_scope_(runner->GetContextHolder()->isolate()),
  11. scope_(runner->GetContextHolder()->context()) {
  12. }
  13. Runner::Scope::~Scope() = default;
  14. } // namespace gin