| Index: test/cctest/test-dictionary.cc
|
| diff --git a/test/cctest/test-dictionary.cc b/test/cctest/test-dictionary.cc
|
| index 2acd4e664ee05d8bb0a9123ad1010ba80bcfd70a..32fff606174423cc4e15c73d002331f6dafb7fe9 100644
|
| --- a/test/cctest/test-dictionary.cc
|
| +++ b/test/cctest/test-dictionary.cc
|
| @@ -40,8 +40,8 @@ using namespace v8::internal;
|
|
|
|
|
| TEST(ObjectHashTable) {
|
| - v8::HandleScope scope;
|
| LocalContext context;
|
| + v8::HandleScope scope(context->GetIsolate());
|
| Handle<ObjectHashTable> table = FACTORY->NewObjectHashTable(23);
|
| Handle<JSObject> a = FACTORY->NewJSArray(7);
|
| Handle<JSObject> b = FACTORY->NewJSArray(11);
|
| @@ -101,8 +101,8 @@ TEST(ObjectHashTable) {
|
|
|
| #ifdef DEBUG
|
| TEST(ObjectHashSetCausesGC) {
|
| - v8::HandleScope scope;
|
| LocalContext context;
|
| + v8::HandleScope scope(context->GetIsolate());
|
| Handle<ObjectHashSet> table = FACTORY->NewObjectHashSet(1);
|
| Handle<JSObject> key = FACTORY->NewJSArray(0);
|
| v8::Handle<v8::Object> key_obj = v8::Utils::ToLocal(key);
|
| @@ -131,8 +131,8 @@ TEST(ObjectHashSetCausesGC) {
|
|
|
| #ifdef DEBUG
|
| TEST(ObjectHashTableCausesGC) {
|
| - v8::HandleScope scope;
|
| LocalContext context;
|
| + v8::HandleScope scope(context->GetIsolate());
|
| Handle<ObjectHashTable> table = FACTORY->NewObjectHashTable(1);
|
| Handle<JSObject> key = FACTORY->NewJSArray(0);
|
| v8::Handle<v8::Object> key_obj = v8::Utils::ToLocal(key);
|
|
|