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

Side by Side Diff: test/unittests/test-utils.cc

Issue 871843004: Distinquish TestWithIsolateAndZone from TestWithZone (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@no_zone_isolate
Patch Set: Created 5 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 | « test/unittests/test-utils.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project 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 "test/unittests/test-utils.h" 5 #include "test/unittests/test-utils.h"
6 6
7 #include "src/base/platform/time.h" 7 #include "src/base/platform/time.h"
8 #include "src/flags.h" 8 #include "src/flags.h"
9 #include "src/isolate-inl.h" 9 #include "src/isolate-inl.h"
10 10
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 TestWithRandomNumberGenerator::~TestWithRandomNumberGenerator() {} 88 TestWithRandomNumberGenerator::~TestWithRandomNumberGenerator() {}
89 89
90 } // namespace base 90 } // namespace base
91 91
92 92
93 namespace internal { 93 namespace internal {
94 94
95 TestWithIsolate::~TestWithIsolate() {} 95 TestWithIsolate::~TestWithIsolate() {}
96 96
97 TestWithIsolateAndZone::~TestWithIsolateAndZone() {}
97 98
98 Factory* TestWithIsolate::factory() const { return isolate()->factory(); } 99 Factory* TestWithIsolate::factory() const { return isolate()->factory(); }
99 100
100 101
101 base::RandomNumberGenerator* TestWithIsolate::random_number_generator() const { 102 base::RandomNumberGenerator* TestWithIsolate::random_number_generator() const {
102 return isolate()->random_number_generator(); 103 return isolate()->random_number_generator();
103 } 104 }
104 105
105 106
106 TestWithZone::~TestWithZone() {} 107 TestWithZone::~TestWithZone() {}
107 108
108 } // namespace internal 109 } // namespace internal
109 } // namespace v8 110 } // namespace v8
OLDNEW
« no previous file with comments | « test/unittests/test-utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698