Build fix for deprecated api use
R=yangguo@chromium.org BUG= Review URL: https://codereview.chromium.org/12610002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13857 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
25058ddd85
commit
08e3c2ec5d
@ -288,7 +288,8 @@ TEST(HandleDereferenceRead) {
|
||||
->NewHandleDereference(helper.isolate_);
|
||||
HandleArray* array = *helper.handle_array_;
|
||||
v8::Handle<v8::String> expected = v8_str("whatever");
|
||||
array->handles_[index] = v8::Persistent<v8::Value>::New(expected);
|
||||
array->handles_[index] = v8::Persistent<v8::Value>::New(helper.isolate_,
|
||||
expected);
|
||||
VerifyRead(descriptor, internal_field, array, expected);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user