Revision: 16047
Author:   [email protected]
Date:     Mon Aug  5 03:04:50 2013
Log:      fix 16045

[email protected]
BUG=

Review URL: https://codereview.chromium.org/22169002
http://code.google.com/p/v8/source/detail?r=16047

Modified:
 /branches/bleeding_edge/test/cctest/test-global-handles.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-global-handles.cc Mon Aug 5 02:46:23 2013 +++ /branches/bleeding_edge/test/cctest/test-global-handles.cc Mon Aug 5 03:04:50 2013
@@ -493,7 +493,8 @@

   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