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

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

Issue 24726002: build fix for 16957 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-decls.cc
diff --git a/test/cctest/test-decls.cc b/test/cctest/test-decls.cc
index 47f95d1d9791d5798297b29b68d2f7c6621e7bb8..de27286dac2deeaea5efc90ec606decf94681fd6 100644
--- a/test/cctest/test-decls.cc
+++ b/test/cctest/test-decls.cc
@@ -228,6 +228,7 @@ v8::Handle<Integer> DeclarationContext::Query(Local<String> key) {
// about and doesn't handle.
TEST(Unknown) {
HandleScope scope(CcTest::isolate());
+ v8::V8::Initialize();
{ DeclarationContext context;
context.Check("var x; x",
@@ -338,6 +339,7 @@ class AbsentPropertyContext: public DeclarationContext {
TEST(Absent) {
v8::Isolate* isolate = CcTest::isolate();
+ v8::V8::Initialize();
HandleScope scope(isolate);
{ AbsentPropertyContext context;
@@ -428,6 +430,7 @@ class AppearingPropertyContext: public DeclarationContext {
TEST(Appearing) {
+ v8::V8::Initialize();
HandleScope scope(CcTest::isolate());
{ AppearingPropertyContext context;
@@ -520,6 +523,7 @@ class ReappearingPropertyContext: public DeclarationContext {
TEST(Reappearing) {
+ v8::V8::Initialize();
HandleScope scope(CcTest::isolate());
{ ReappearingPropertyContext context;
@@ -612,6 +616,7 @@ class AbsentInPrototypeContext: public DeclarationContext {
TEST(AbsentInPrototype) {
i::FLAG_es52_globals = true;
+ v8::V8::Initialize();
HandleScope scope(CcTest::isolate());
{ AbsentInPrototypeContext context;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698