Commit b0860dd2 authored by dcarney@chromium.org's avatar dcarney@chromium.org

arm build fix for 15142

TBR=svenpanne@chromium.org
BUG=

Review URL: https://codereview.chromium.org/17030007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15144 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 022ee63f
......@@ -3133,9 +3133,7 @@ THREADED_TEST(ClearAndLeakGlobal) {
String* str = global.ClearAndLeak();
CHECK(global.IsEmpty());
CHECK_EQ(global_handles->NumberOfGlobalHandles(), initial_handle_count + 1);
v8::Persistent<String>* new_global =
reinterpret_cast<v8::Persistent<String>*>(&str);
new_global->Dispose();
global_handles->Destroy(reinterpret_cast<i::Object**>(str));
CHECK_EQ(global_handles->NumberOfGlobalHandles(), initial_handle_count);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment