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

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

Issue 16947004: One more build fix for 15107 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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-api.cc
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
index 027071f5bd0e50cca861c280d3b678a24554f36f..807e168a58a8713403dc084b7f2b1ad948f1e716 100755
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -5143,9 +5143,9 @@ Handle<v8::Array> NonStrictArgsIndexedPropertyEnumerator(
"}"
"keys = f(0, 1, 2, 3);"
"keys;"));
- Local<Object> result =
- Local<Object>::Cast(indexed_property_names_script->Run());
- return *reinterpret_cast<Local<v8::Array>*>(&result);
+ Local<v8::Array> result =
+ Local<v8::Array>::Cast(indexed_property_names_script->Run());
+ return result;
}
« 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