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

Unified Diff: test/cctest/test-global-handles.cc

Issue 22169002: fix 16045 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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-global-handles.cc
diff --git a/test/cctest/test-global-handles.cc b/test/cctest/test-global-handles.cc
index 4cc3e158345eb507065039b62ebe19a9b6bc28d6..3d79dba7aa1d838a09035dacd4f1947a2116a528 100644
--- a/test/cctest/test-global-handles.cc
+++ b/test/cctest/test-global-handles.cc
@@ -493,7 +493,8 @@ TEST(EternalHandles) {
for (int i = 0; i < kArrayLength; i++) {
HandleScope scope(isolate);
- v8::Handle<v8::Value> local = v8::Utils::ToLocal(eternals->Get(i));
+ v8::Handle<v8::Value> local =
+ v8::Utils::ToLocal(eternals->Get(indices[i]));
v8::Handle<v8::Object> object = v8::Handle<v8::Object>::Cast(local);
v8::Handle<v8::Value> value = object->Get(i);
CHECK(value->IsInt32());
« 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