Reviewers: Michael Starzinger,

Message:
Committed patchset #1 manually as r16047.

Description:
fix 16045

[email protected]
BUG=

Committed: https://code.google.com/p/v8/source/detail?r=16047

Please review this at https://codereview.chromium.org/22169002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M test/cctest/test-global-handles.cc


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());


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to