Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

Side by Side Diff: gin/runner_renamed.cc

Issue 2649853002: SAMPLE: Copy files (Closed)
Patch Set: 2017-01-23T17:13:41 Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gin/runner.cc ('k') | third_party/WebKit/LayoutTests/editing/foo.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "gin/runner.h" 5 #include "gin/runner.h"
6 6
7 namespace gin { 7 namespace gin {
8 8
9 Runner::Runner() : weak_factory_(this) { 9 Runner::Runner() : weak_factory_(this) {
10 } 10 }
11 11
12 Runner::~Runner() { 12 Runner::~Runner() {
13 } 13 }
14 14
15 Runner::Scope::Scope(Runner* runner) 15 Runner::Scope::Scope(Runner* runner)
16 : isolate_scope_(runner->GetContextHolder()->isolate()), 16 : isolate_scope_(runner->GetContextHolder()->isolate()),
17 handle_scope_(runner->GetContextHolder()->isolate()), 17 handle_scope_(runner->GetContextHolder()->isolate()),
18 scope_(runner->GetContextHolder()->context()) { 18 scope_(runner->GetContextHolder()->context()) {
19 } 19 }
20 20
21 Runner::Scope::~Scope() { 21 Runner::Scope::~Scope() {
22 } 22 }
23 23
24 } // namespace gin 24 } // namespace gin
OLDNEW
« no previous file with comments | « gin/runner.cc ('k') | third_party/WebKit/LayoutTests/editing/foo.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698