• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
5 #include "gin/runner.h"
6 
7 namespace gin {
8 
Runner()9 Runner::Runner() : weak_factory_(this) {
10 }
11 
~Runner()12 Runner::~Runner() {
13 }
14 
Scope(Runner * runner)15 Runner::Scope::Scope(Runner* runner)
16     : isolate_scope_(runner->GetContextHolder()->isolate()),
17       handle_scope_(runner->GetContextHolder()->isolate()),
18       scope_(runner->GetContextHolder()->context()) {
19 }
20 
~Scope()21 Runner::Scope::~Scope() {
22 }
23 
24 }  // namespace gin
25