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

Unified Diff: test/cctest/test-random.cc

Issue 12716010: Added a version of the v8::HandleScope constructor with an Isolate and use that consistently. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed rest Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: test/cctest/test-random.cc
diff --git a/test/cctest/test-random.cc b/test/cctest/test-random.cc
index 32b626e8564975d16d593201ab5f94e836e99e5f..9394fc95135c92e6107daf6f7f9e5da8ddf8f3c2 100644
--- a/test/cctest/test-random.cc
+++ b/test/cctest/test-random.cc
@@ -73,7 +73,7 @@ TEST(CrankshaftRandom) {
if (env.IsEmpty()) env = v8::Context::New();
// Skip test if crankshaft is disabled.
if (!V8::UseCrankshaft()) return;
- v8::HandleScope scope;
+ v8::HandleScope scope(env->GetIsolate());
env->Enter();
Handle<Context> context(Isolate::Current()->context());

Powered by Google App Engine
This is Rietveld 408576698