Roll android_tools deps to the latest.
[chromium-blink-merge.git] / gin / runner.cc
blob6f018b165b24b896c3584d0ecd174fe46506d772
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.
5 #include "gin/runner.h"
7 namespace gin {
9 Runner::Runner() : weak_factory_(this) {
12 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()) {
21 Runner::Scope::~Scope() {
24 } // namespace gin